User:E.zn/hackpact: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 76: Line 76:
:- 2 -------------------------------------------------------------------------------------------
:- 2 -------------------------------------------------------------------------------------------


 
<div style="width:55%; float:left;">
: Send lib.txt to 192.168.1.xxx over port 45788 using netcat
: Send lib.txt to 192.168.1.xxx over port 45788 using netcat
:::<pre style="background-color:#444861; border:none">nc 192.168.1.xxx 45788 < lib.txt</pre>
:::<pre style="background-color:#444861; border:none">nc 192.168.1.xxx 45788 < lib.txt</pre>
: Receive lib.txt over port 45788
: Receive lib.txt over port 45788
:::<pre style="background-color:#7D7E8B; border:none">nc -l 45788 > lib.txt</pre>
:::<pre style="background-color:#7D7E8B; border:none">nc -l 45788 > lib.txt</pre>
 
</div>
<br clear=all>


<div style="width:45%; float:right;">
<div style="width:45%; float:right;">

Revision as of 00:24, 6 November 2020



- 1 -------------------------------------------------------------------------------------------
- Running a web server on RPi at my place and hosting leverburns.blue
- Using Terminado to access the terminal on the server via browser [many thanks to Michael]







Fail.gif
lynx http://www.webleedlikeg.com/
Ack 1.png
Ack 2.png






















- 2 -------------------------------------------------------------------------------------------
Send lib.txt to 192.168.1.xxx over port 45788 using netcat
nc 192.168.1.xxx 45788 < lib.txt
Receive lib.txt over port 45788
nc -l 45788 > lib.txt


Nc 3.png



Send text over url
echo '///////////////////'  | nc leverburns.blue 33872
Receive the message on a web server over 33872
nc -l 33872