Commit b0db21b2 authored by Philip Linghammar's avatar Philip Linghammar
Browse files

Updates connections.md

Auto commit by GitBook Editor
parent 830fbe33
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -65,20 +65,16 @@ for line in file_open:
        print "last line"
```



### Send requests to your proxy \(like Burp\)



```
import os
os.environ['HTTPS_PROXY'] = '<proxyurl>:<port>' 
# http://127.0.0.1:8080 if it is burp
# Then you need to add verify=False
requests.get("https://google.com", headers=headers,verify=False)
```



## Basic banner-grabber

Here is an example of the most basic usage of the socket module. It connects to a port and prints out the response.