Cth
Penetration Testing, Vulnerability Assessment, Malware Analysis, Reverse Engineering, Packet Analysis, Wireshark, tshark, tcpdump, Tips & Tricks, Notes, Network Security, Unix, Solaris, Firewalls, Cisco ASA, Cisco PIX, Checkpoint, Netscreen
Sunday, December 13, 2020
Python sys.argv
Wednesday, November 4, 2020
Unix Bash Shell Script
..
..
Tuesday, November 3, 2020
VBA
VBA
Tuesday, October 20, 2020
SSH_ASKPASS
Keep in mind that ssh stands for secure shell, and if you store your user, host and password in plain text files you are misleading the tool an creating a possible security gap
./ssh_session
https://stackoverflow.com/questions/1340366/how-to-make-ssh-receive-the-password-from-stdin
Monday, October 19, 2020
SSH_ASKPASS
Thursday, October 15, 2020
Python SSHClient invoke interactive shell
...
https://daanlenaerts.com/blog/2016/07/01/python-and-ssh-paramiko-shell/
Tuesday, October 13, 2020
Python, paramiko, SSHClient, invoke_shell() in bytes
Wednesday, October 7, 2020
Alpine Linux
1. Download
https://alpinelinux.org/downloads/
2. Login with root
3. Change the password
passwd
4. Set temporary IP (static or dhcp)
ifconfig eth0 10.1.1.1
or
udhcpc -i eth0
5. Install the openssh package
apk add openssh
5. View/change SSH config
/etc/ssh/sshd_config
6. Start SSH service
/etc/init.d/sshd start