Remmina

From Chorke Wiki
Revision as of 12:40, 16 June 2024 by Shahed (talk | contribs) (→‎References)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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