Skip to main content

RDP

 

What is the name of the tool that we can use to initiate a desktop projection to our host using the terminal? 

Answer: xfreerdp

 

Remember, RDP works for Windows machines. What is the name of the admin account on Windows? It is "Administrator'

 

You can attempt to RDP to windows machines using this:

xfreerdp /v:10.129.1.13 /u:Administrator

Press enter when prompted for password (might be poorly configured, and let you use an empty password).

 

How to use freerdp

To install freerdp on Debian, Kali Linux, Linux Mint, Ubuntu and derivatives, run the command:


sudo apt install freerdp2-x11 freerdp2-shadow-x11

If the freerdp2-x11 and freerdp2-shadow-x11 packages are not found, look for a package named freerdp.

To install freerdp on Arch Linux and derivatives, run the command:

1
sudo pacman -S freerdp

How to connect with freerdp command

To connect to the remote desktop using xfreerdp, run a command of the form:

1
xfreerdp /f /u:USERNAME /p:PASSWORD /v:HOST[:PORT]

In this command:

  • /f is option means to open the remote desktop in full screen mode
  • /u:USERNAME is a name of the account on the computer to which we are connecting
  • /p:PASSWORD is a password of the specified account
  • /v:HOST[:PORT] is an IP address or name of the computer to which the remote table is connected. PORT optional

 

Comments

Popular posts from this blog

How To Run TOR as a Non-Root User

Hello Friends, Today I finally figured out something that had eluded for quite a while, and that is... the mysterious process of running TOR as a non-root user! Like many other novice hackers, I had tried to run TOR by adding a user in Kali Linux through the following CLI commands: $ useradd guest $ passwd guest $ runuser -l guest -c ./start-tor-browser.desktop Which gave me the lovely error message below: $ Tor Browser must be run within the X Window System This last output one gives us a clue: the X Window System is graphical interface, which means that we need to run this software outside the CLI (you can try downloading the xorg, but that proved to be much of a headache). To do this, go here: Log out as root and login as the user you created. The computer will load the GUI and you will now be able to run TOR as a non-root user! Please let me know if this tutorial helped you out! xoxo

Port Forwarding

Dear Diary, Today was a good day. I learned about a powerful new feature called Port Forwarding! Port Forwarding is a feature of SSH that allows you to redirect traffic from on a target machine to another using a specified IP and port. This is a powerful tool because it allows you to relay communication from a target machine to an external host (i.e. your computer!). All you need is: SSH Credentials The port of the resource you want to access Let's say the web server is hosted on 127.0.0.1:8443. You can use the command below to access that webserver: ssh -L 8443:127.0.0.1:8443 <username>@10.10.10.184 Where you can now execute curl commands to retrieve information on that website (without port forwarding, this would've resulted in an access denied error!) curl -k -i -u admin:<password> https://localhost:8443 

The Commits in the Sandbox

One night I dreamed a dream. I had started early on the networking assignment with my partner. Across the dark VM terminal flashed commits from my fork. For each fork, I noticed two sets of commits in the repo, One belonging to me and one to my partner. After the last commit of my life flashed before me, I feel into a very deep chemically induced sleep. After being released from the hospital two weeks later, I looked back at the commits in the repo. I noticed that there was only one set of commits. I walked in a daze to the computer lab to find my partner finishing up his machine learning assignment. Suddenly, he looked up at me and blinked. A tear came to my eye. “My precious partner,” he said as he put his pencil down. "You are my group member and I would never leave you, even during our most difficult ARP tests.” My jaw dropped. “…Did you really code an entire router by yourself!?” I exclaimed. He smiled. “No, you were with me. F...