Debian and grub2 password reset

In grub boot screen type “e” for edit, and search for line starting with linux – add “init=/bin/bash” at the end linux /boot/vmlinuz-version root=UUID=hex ro quite init=/bin/bash Press CTRL+X to boot and execute following: mount -o remount,rw / enter “passwd” to change root password (or passwd username) execute “sync” and make reboot

Upload files to your Cisco ASA via pscp – no password prompt

Рmake sure you have defined user on ASA with privilege 15Рmake sure you have ssh scopy enable configuredРon your linux host enter pscp -pw <password> <filename> <username>@<ASA IP>:<location/filename> something like: pscp -pw THISisp4ssw0rdf anyconnectfile.pkg adminusername@8.8.8.8:disk0:/anyconnectfile.pkg if you want to use scp with password prompt use: scp anyconnectfile.pkg adminusername@8.8.8.8:disk0:/anyconnectfile.pkg

Windows CLI netstat reminder

as seen on xmodx. netstat -an | find /i “listening”¬†– grep with string netstat -ao | find /i “listening” – lists owning process ID associated with connection if “find /i” doesn’t work try “findstr”