Difference between revisions of "Networking"

From wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
;<code>curl -vvv -k  --proxy1.0 <proxyIP>:<proxyPort> <Remote URL></code>
 
;<code>curl -vvv -k  --proxy1.0 <proxyIP>:<proxyPort> <Remote URL></code>
 
:Get the data from <remote URL> -k allows insecure SSL connections
 
:Get the data from <remote URL> -k allows insecure SSL connections
 +
 +
;<code>curl -vvv telnet://<IP>:<port></code>
 +
:Just test connectivity to a port
  
 
===Wget===
 
===Wget===
 
;<code>wget <URL></code>
 
;<code>wget <URL></code>
 
:Get the data from <URL>
 
:Get the data from <URL>

Revision as of 11:01, 8 May 2018

Check network connections

Netcat

nc <host> <port>
Open connection to host on port. Works line tetnet

Curl

curl -vvv -k --proxy1.0 <proxyIP>:<proxyPort> <Remote URL>
Get the data from <remote URL> -k allows insecure SSL connections
curl -vvv telnet://<IP>:<port>
Just test connectivity to a port

Wget

wget <URL>
Get the data from <URL>