Remmina: Difference between revisions
Jump to navigation
Jump to search
Line 69: | Line 69: | ||
nc -tv vpn.shahed.biz 80 | nc -tv vpn.shahed.biz 80 | ||
nc -uv vpn.shahed.biz 1194 | nc -uv vpn.shahed.biz 1194 | ||
sudo nmap -sT -p U:1194,T:22,53,443 vpn.shahed.biz | sudo nmap -sU -sT -p U:1194,T:22,53,443 vpn.shahed.biz | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 88: | Line 88: | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo nmap | sudo nmap -sT -p T:22,80,443,1433,1443,3389,5432,8080,8433,8443 vpn.shahed.biz | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 04:14, 9 May 2024
remmina -?
Playground
remmina --encrypt-password
echo 'sadaqah!' | remmina --encrypt-password
echo 'sadaqah!' | remmina --encrypt-password &>/dev/null
|
remmina -c 'rdp://admin:@10.19.83.110'
remmina -c 'rdp://admin:[email protected]'
remmina -c 'rdp://admin:[email protected]'&
| |
| ||
REMMINA_RDP_USER='admin'
REMMINA_RDP_PASS='sadaqah!'
REMMINA_RDP_HOST='10.19.83.110'
echo "${REMMINA_RDP_PASS}" | remmina --encrypt-password &>/dev/null
REMMINA_RDP_ENCR="$(echo "${REMMINA_RDP_PASS}" | remmina --encrypt-password | grep 'Encrypted password: ' | cut -d':' -f2- | tr -d ' ')"
remmina -c "rdp://${REMMINA_RDP_USER}:${REMMINA_RDP_ENCR}@${REMMINA_RDP_HOST}"
| ||
| ||
Knowledge
apt install ufw
apt install nmap
apt install telnet
apt list --installed
|
nc -tv localhost 80 # tcp
nc -uv localhost 1194 # udp
sudo nmap -sT localhost # tcp
sudo nmap -sU localhost # udp
|
nc -tv vpn.shahed.biz 53
nc -tv vpn.shahed.biz 80
nc -uv vpn.shahed.biz 1194
sudo nmap -sU -sT -p U:1194,T:22,53,443 vpn.shahed.biz
|
| ||
sudo nmap vpn.shahed.biz
|
sudo nmap vpn.shahed.biz
|
sudo nmap -sT -p T:22,80,443,1433,1443,3389,5432,8080,8433,8443 vpn.shahed.biz
|
References
| ||