-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.py
More file actions
102 lines (99 loc) · 3.32 KB
/
commands.py
File metadata and controls
102 lines (99 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
BASIC_FUNCTIONAL_COMMMANDS = [
{
"name": "exit / quit / q",
"purpose": "Exit from tool"
},
{
"name": "changepass",
"purpose": "Change OnionSpy login password"
},
{
"name": "version",
"purpose": "See version of OnionSpy"
},
{
"name": "about",
"purpose": "See about and features of OnionSpy with current version"
},
{
"name": "command <command_name>",
"purpose": "Search for available command and see about their work & purpose"
},
{
"name": "help / h",
"purpose": "See all available options"
},
{
"name": "cachecl",
"purpose": "Clear cache data from ./data directory"
}
]
CONNECTION_RELATED_COMMANDS = [
{
"name": "torverify",
"purpose": "Verify whether you are connected to Tor Network or not",
"example": "Just use \"torverify\" command"
},
{
"name": "torconn",
"purpose": "Connect with Tor Network if you are not connected by starting local Tor service (works only when if you are prefer to using local Tor service)",
"example": "Just use \"torconn\" command"
},
{
"name": "torclose",
"purpose": "Close local Tor service, it will disconnect you from Tor Network (works only if your tor service is running locally and you are connected with it)",
"example": "Just use \"torconnect\" command"
},
{
"name": "checkproxy",
"purpose": "Check whether Privoxy is running or not and your traffic passing through Privoxy or not",
"example": "Just use \"checkproxy\" command"
},
{
"name": "changeproxy <url>",
"purpose": "Change request proxy URL (By default it use Tor SOCKS proxy)",
"example": "changeproxy \"http://127.0.0.1:8118\" (This is Privoxy proxy URL)"
},
{
"name": "ip",
"purpose": "Check whether your IP is Tor IP or not (if you are connected with Tor Network it will display Tor IP Address)",
"example": "Just use \"ip\" command"
},
]
RESEARCH_COMMANDS = [
{
"name": "search <query>",
"purpose": "Perform search on over the Tor Network (Dark Web) [cyan bold](Need Ollama)[/cyan bold]",
"example": "search \"example\""
},
{
"name": "istor <ip>",
"purpose": "Check IP Address whether it is Tor IP or not",
"example": "istor \"10.10.10.100\""
},
{
"name": "scan <url>",
"purpose": "Verify or check .onion site health, if it is alive or not",
"example": "scan \"http://example.onion\""
},
{
"name": "crawl <url>",
"purpose": "Crawl .onion site content [cyan bold](Need Ollama)[/cyan bold]",
"example": "crawl \"http://example.onion\""
},
{
"name": "relay <ip> \\ <fingerprint> \\ <name>",
"purpose": "Search for any existing Tor Relay by Name, IP or their Fingerprint",
"example": "relay \"10.10.10.100\" \\ \"XYZABC1234XYZABC\" \\ \"relayxyz\""
},
{
"name": "breaches",
"purpose": "Get all breaches information",
"example": "Just use \"breaches\" command"
},
{
"name": "breachinfo <company>",
"purpose": "Get data breach information about related to any one specific company",
"example": "breachinfo <xyz>"
},
]