VBA
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
Tuesday, November 3, 2020
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
Monday, June 17, 2019
Linux show hidden files only
echo .*
ls -d .*If you prefer it in long listing format, use `-l`
ls -dl .*or
echo .* | tr ' ' '\n'
Examples:
c-kurity@Linux:~$ echo .* . .. .bash_aliases .bash_history .bash_logout .bashrc .cache .config c-kurity@Linux:~$
c-kurity@Linux:~$ ls -d .* . .bash_logout .. .bashrc .bash_aliases .cache .bash_history .config c-kurity@Linux:~$