![]() tried to install webmin following your instructions, I created a webmin.list file with "deb sarge contrib" in it and appended the code you gave me to etc/rc. I don't know how could I give myself shell access from rc.local, methods I found online suppose you have netcat installed on the target machine (which I don't as I don't think netcat is standard in ubuntu) and tell you to put nc -c /bin/sh in rc.local The tool originally comes from the world of Unix but is now available for all platforms. To exchange data, Netcat uses the network protocols TCP/IP and UDP. tried to execute a php script on my server to get reverse shell access with netcat -> when I access /php-reverse-shell.php I get "access denied" Tools What is Netcat Netcat is a command line tool responsible for reading and writing data in the network. configure sshd_config to use port 26 instead of 22 -> didnt work I've now tried three things, none of which did work : We can now use this file as an input for the netcat connection we will establish to the listening computer. On the second computer, create a simple text file by typing: echo 'Hello, this is a file' > originalfile. If you don't, just turn off it and pull out SD card, and put into your desktop using USB card reader, here my hope is you have Linux box, then change the port number in sshd_config which you changed in the SD card. The > in this command redirects all the output of netcat into the specified filename. If you have a USB-to-UART cable, you can easily connect to running ODROID. Is there really no way to connect to my odroid ? I have the thing in my god damn hand!! ![]() I already ordered a sata to usb connector from amazon which will be here in two days. The irony is that the webserver is working fine as before () So my best guess is that open ssh cannot launch so I can't access anything. Looking back to my terminal screen I saw that open ssh couldnt start because of the modif I made to this sshd_config file (I didnt take the time to read that before my reboot command.) "ssh: connect to host odroid port 22: Connection refused" Now I cannot access my odroid anymore, be it via ssh or sftp (logic as it uses ssh). To test if what I did was fine I restarted open ssh, it did not start, so I had the genius idea to enter reboot I needed to give him sftp access, so I began editing the sshd_config file (config file of open ssh). netcat only terminates when the other side of the connection ends the. As it worked fine for my website, I started hosting a friends website. rescue image such as SystemRescueCd that you can put on removable media.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |