Remmina: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 32: Line 32:
REMMINA_RDP_ENCR="$(echo "${REMMINA_RDP_PASS}" | remmina --encrypt-password | grep 'Encrypted password: ' | cut -d':' -f2- | tr -d ' ')"
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}"
remmina -c "rdp://${REMMINA_RDP_USER}:${REMMINA_RDP_ENCR}@${REMMINA_RDP_HOST}"
</syntaxhighlight>
|-
| colspan="3" |
----
|-
| valign="top" |
| valign="top" |
| valign="top" |
|}
==Knowledge==
{|
| valign="top" |
<syntaxhighlight lang="bash">
apt install ufw
apt install nmap
apt install telnet
apt list --installed
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
nc -tv localhost 80
nc -uv localhost 1194
sudo nmap -sT localhost
sudo nmap -sU localhost
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
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
</syntaxhighlight>
</syntaxhighlight>



Revision as of 03:58, 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
nc -uv localhost 1194
sudo nmap -sT localhost
sudo nmap -sU localhost
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

References