User:E.zn/hackpact: Difference between revisions

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




:: Send lib.txt to 192.168.1.xxx over port 45788
: Send lib.txt to 192.168.1.xxx over port 45788 using netcat
:::::::::<pre style="background-color:#335035; 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:white; border:none">nc -l 45788 > lib.txt</pre>
:::<pre style="background-color:#7D7E8B; border:none">nc -l 45788 > lib.txt</pre>
 
 
<div style="width:45%; float:right;>
<div style="width:45%; float:right;>
[[File:nc_3.png|550px|right]]
[[File:nc_3.png|550px|right]]
</div>
</div>
: Send text over url
:::<pre style="background-color:#444861; border:none">echo '///////////////////'  | nc leverburns.blue 33872</pre>
: Receive the message on a web server over 33872
:::<pre style="background-color:#7D7E8B; border:none">nc -l 33872</pre>
</div>
</div>

Revision as of 00:14, 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