Name them
shame them
Name them
shame them
Thx <3
This leads to 404 page :/
This is funny because people use ai to generate headshots from selfies and then another ai is used to assess the facial expressions of said image π«£π¬
A mushroom with a huge hat, is growing on a tree. It looks like it has a face and a pice on the side looks like a hand, giving the impression of the mushroom smiling and winking.
Hi there friendows,
My last blogpost of the year. Or maybe ever, I dunno yet. Just read it if you want.
rootcat.de/blog/hackedm...
THC Release π₯: The worldβs largest IP<>Domain database: ip.thc.org
All forward and reverse IPs, all CNAMES and all subdomains of every domain. For free.
Updated monthly.
Try: curl ip.thc.org/1.1.1.1
Raw data (187GB): ip.thc.org/docs/bulk-da...
(The fine work of messede π)
Welcome to Cisco π«£ always a good experience when they are involved
Welcome to Cisco π«£ always a good experience when they are involved
Take care dude! We need you for a hundred years more!
Love it! There is an issue with the email field though, made it hard(er) to sign up
How do you do so many things at once btw? :D I feel like every month you publish a banger new project
Is this by any chance an online class one could sit in next time you teach it?
+1 π¬
WOHOOOOO IT WORKED WE ARE MAGICIANS! πͺπ¦
Well done friends, in the next post we shall do the same on multiple machines at the same time π
Cant wait to talk to you again!
ansible -i ./hosts.yml infrastructure -a "ping 192.168.188.1 -c 1" - output in an ubuntu terminal
It has an associated IP address, a username that should be used for the ssh connection and the private key needed to initiate the connection
with that out of the way we can run the command from earlier:
ansible -i hosts.yml infrastructure -a 'ping 192.168.188.1 -c 1'
What do we see here?!
First all the machines are collected by a self-defined metagroup - βinfrastructureβ.
now a list of all the hosts inside this group follows, in this example we will only have one for now - debian
content of the hosts.yml file showing an infrastructure group with one host - debian and associated parameters - IP address, ansible user, and the ssh key ansible should use
WAIT - STOP - HOLD ON
what is inside the hosts.yml and what is a yml in the first place?
a .yml file is a yaml (Yet Another Markup Language) file
but how do we execute the commands now?
you use ansible π
like so:
ansible -i hosts.yml infrastructure -a 'ping 192.168.188.1 -c 1'
cat authorized_keys on a debian machine showing only one ssh key from a ubuntu machine
fear not - that is totally expected - your key is well βhiddenβ in the authorized keys - open that one and find out:
aha - ok that looks like the correct key with the correct username at the end π
contents of the folder .ssh shown, only one file visible - authorized_keys
GREAT!
can we check if the key is really there?
sure!
but um⦠this does not look like it is there?
"ssh-copy-id -i .ssh/ansible-debian debian@debian" running in a ubuntu terminal
you type:
ssh-copy-id -i <location_of_your_ssh_key> username@controlled-machine
press enter and then you need to enter the password for the controlled-machine user
if all goes well you see something similar to the following image:
wonderful - now two options exist
1. you copy the public ssh key to the machine via copy/paste
2. you use ssh-copy-id
We shall use 2. today, because it is freaking cool!
ssh-keygen -b 4096
now generate a private key on your host machine with
ssh-keygen -b 4096
make sure to enter the correct location and add a passkey if you care about security π
if you are lucky it is already running - if not install it via:
sudo apt-get install openssh-server
output of "systemctl status ssh" in a terminal on a debian machine showing the ssh server is running
cool cool cool - what now?
now you need to identify how you can connect to the controlled machine - e.g. via ssh if it is linux
that means ssh needs to run on the controlled machine - check via:
systemctl status ssh
terminal output after finished ansible installation showing all went well
smash that y button and the enter key right afterwards
and then wait until the install is finished β³Β β βοΈ
output of "sudo apt-get install ansible"
First, install ansible on your host machine via:
sudo apt-get install ansible
(if your host is debian/ubuntu based)
and the best part?
you do _NOT_ have to install it on the client systems, only on your host / the controlling node!
Ok great, but how do we start β‘οΈΒ π
Well, it was not made for patching but who am I to judge if you need an automated solution and this is all you have?! π§π»ββοΈβ
ansible is basically your go to shop πͺΒ for running commands on existing machines
it logs in for you, runs commands for you and gives you feedback if it all worked out