13%
27.05.2025
for YAML.
Listing 1
YAML Inventory File
01 ---
02 servers:
03 children:
04 debian_servers:
05 hosts:
06 # Pi-hole
07 pihole:
08 ansible
13%
30.11.2025
="4096"
12
13 # Last offset to try
14 final_offset="$(du -b "$DEV" | cut -f 1)"
15
16 # A free loop device
17 LOOP="/dev/loop2"
18
19 # Start
20 offset=0
21
22 while [ "$offset" -lt "$final_offset" ]; do
13%
30.11.2025
the script results.
Listing 1
clone-vm
01 #!/bin/sh
02
03 export LIBVIRT_DEFAULT_URI=qemu:///system
04
05 lastid=$(tail -1 vm-list.txt)
06 newid=$(($lastid+1))
07 vmname=vm$newid
08 echo
13%
30.11.2025
.
Listing 1
Installing the Extension Pack
$ vboxmanage -v
4.1.12r77245
$ wget http://download.virtualbox.org/virtualbox/4.1.12/Oracle_VM_Virtualbox_Extension_Pack-4.1.12-77245.vbox-extpack
$ sudo
13%
30.11.2025
08 default:
09 $(MAKE) -C $(KDIR) M=$(PWD) modules
10 endif
11
12 clean:
13 rm -rf *.ko *.o *.mod.c *.mod.o modules.order
14 rm -rf Module.symvers .*.cmd .tmp
13%
28.07.2025
_port(host, port):
06 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
07 s.settimeout(1)
08 try:
09 s.connect((host, port))
10 print(f"[+] Port {port} is open")
11 except
13%
30.11.2025
doesn't just contain the hash itself; it also contains all the additional information that Phpass meets later to verify the password:
$2a$08$zEIaPFIg...
The two characters that follow the first dollar
13%
30.11.2025
/64 BS]... DONE
07 Many salts: 45898 c/s real, 45898 c/s virtual
08 Only one salt: 45108 c/s real, 45186 c/s virtual
09
10 Benchmarking: FreeBSD MD5 [32/64 X2]... DONE
11 Raw: 10995 c/s real, 10995
13%
28.07.2025
':
07 ensure => running,
08 enable => true,
09 hasrestart => true,
10 require => Package['openssh-server'],
11 }
12
13 augeas { 'Set SSH Protocol to 2':
14 context
13%
30.11.2025
("http://spacewalk.tuxgeek.de/cobbler_api")
06 token = conn.login(user, password)
07
08 cblr_systems = '/root/cobbler.csv'
09
10 if os.access(cblr_systems, os.F_OK):
11 print "Reading system configuration file %s" % cblr_systems
12