-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,4 @@ Icon | |
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
*.exe | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
3Scan - fast HTTP/SOCKS4/SOCKS5 detector | ||
|
||
Compile under *nix: | ||
gcc -o3scan 3scan.c | ||
|
||
Compile under Windows: | ||
gcc -o3scan 3scan.c -lws2_32 | ||
or | ||
cl 3scan.c ws2_32.lib | ||
|
||
Usage: 3scan.exe ip[/srcip] portlist option webhost url [keyword] [timeout] | ||
ip - IP address to test | ||
srcip - source IP address to use | ||
portlist - comma delimited list of ports. May contain additional tests: | ||
s - Socks 4/5 test for this port | ||
p - HTTP/CONNECT proxy test for this port | ||
f - FTP proxy test for this port | ||
t - TELNET proxy test for this port | ||
option: | ||
p - scan for HTTP proxy on all ports | ||
c - scan for CONNECT proxy on all ports | ||
f - scan for FTP proxy on all ports | ||
t - scan for TELNET proxy on all ports | ||
4 - scan for Socks v4 proxy on all ports | ||
5 - scan for Socks v5 proxy on all ports | ||
w - scan for WINPROXY | ||
v - be verbose | ||
V - be Very Verbose | ||
s - be silent (exit code is non-zero if proxy detected) | ||
S - check SMTP instead of HTTP | ||
webhost - IP address for testing web server to try access via proxy | ||
url - URL to request on testing Web server | ||
We will try to access http://webhosturl via proxy | ||
keyword - keyword to look for in requested page. If keyword not found | ||
proxy will not be reported | ||
timeout - timeout in milliseconds | ||
example: C:\Users\v.dubrovin\Documents\GitHub\3scan\3scan.exe localhost 1080s,3128p,8080p 4v www.myserver.com /test.html | ||
will test all 3 ports for Socks 4, additionally 3128 and 8080 will be tested | ||
for HTTP proxy, 1080 for both Socks 4 and 5, tests will be verbose. | ||
http://www.myserver.com/test.html should exist. | ||
|
||
(c) 2002 by 3APA3A, http://www.security.nnov.ru |