Skip to content

Commit 8dbc7e5

Browse files
authored
Merge pull request #219 from DedSecInside/use_gotor
Use GoTor HTTP service
2 parents 74e2436 + bab824c commit 8dbc7e5

16 files changed

Lines changed: 281 additions & 1364 deletions

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "gotor"]
2+
path = gotor
3+
url = https://github.com/KingAkeem/gotor

README.md

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝
99

1010
Open Source Intelligence Tool for the Dark Web
11-
11+
1212
</pre>
1313

1414
<p align="center">
@@ -24,22 +24,6 @@
2424
[![Code Triage](https://www.codetriage.com/dedsecinside/torbot/badges/users.svg)](https://www.codetriage.com/dedsecinside/torbot)
2525
[![](https://img.shields.io/badge/Built%20with-❤-orange.svg?style=flat-square)]()
2626
[![](https://img.shields.io/badge/Made%20with-Python-red.svg?style=flat-square)]()
27-
## Working Procedure/Basic Plan
28-
The basic procedure executed by the web crawling algorithm takes a list of seed URLs as its input and repeatedly executes
29-
the following steps:
30-
<code>
31-
<pre>
32-
URLs = input(url)
33-
while(URLs is not empty) do
34-
dequeue url
35-
request page
36-
parse for Links
37-
for(link in Links) do
38-
if (link islive && link is not visited) then
39-
add link to URLs
40-
store page content
41-
</pre>
42-
</code>
4327

4428
### Features
4529
1. Onion Crawler (.onion).(Completed)
@@ -66,7 +50,7 @@ Contributor name will be updated to the below list. 😀
6650
### OS Dependencies
6751
- Tor
6852
- Python ^3.7
69-
- Golang 1.x (Not Currently Used)
53+
- Golang 1.16
7054

7155
### Python Dependencies
7256

@@ -80,6 +64,8 @@ Contributor name will be updated to the below list. 😀
8064
- yattag
8165
- numpy
8266

67+
### Golang Dependencies
68+
- https://github.com/KingAkeem/gotor (This service needs to be ran in tandem with TorBot)
8369

8470
## Basic setup
8571
Before you run the torBot make sure the following things are done properly:
@@ -100,7 +86,7 @@ Before you run the torBot make sure the following things are done properly:
10086
On Linux platforms, you can make an executable for TorBot by using the install.sh script.
10187
You will need to give the script the correct permissions using `chmod +x install.sh`
10288
Now you can run `./install.sh` to create the torBot binary.
103-
Run `./torBot` to execute the program.
89+
Run `./torBot` to execute the program.
10490

10591
An alternative way of running torBot is shown below, along with help instructions.
10692

@@ -128,29 +114,30 @@ optional arguments:
128114
Read more about torrc here : [Torrc](https://github.com/DedSecInside/TorBoT/blob/master/Tor.md)
129115

130116

131-
#### Using the GUI
117+
#### Using the GUI
132118

133119

134120
#### Using Docker
135121

136122
- Ensure than you have a tor container running on port 9050.
137123
- Build the image using following command (in the root directory):
138-
124+
139125
`docker build -f docker/Dockerfile -t dedsecinside/torbot .`
140126
- Run the container (make sure to link the tor container as `tor`):
141-
127+
142128
`docker run --link tor:tor --rm -ti dedsecinside/torbot`
143129

144130
## TO-DO
145-
- [X] Visualization Module
131+
- [x] Visualization Module
146132
- [x] Implement BFS Search for webcrawler
147-
- [X] Multithreading for Get Links
148-
- [ ] Improve stability (Handle errors gracefully, expand test coverage and etc.)
149-
- [X] Create a user-friendly GUI
133+
- [x] Use Golang service for concurrent webcrawling
134+
- [x] Improve stability (Handle errors gracefully, expand test coverage and etc.)
135+
- [x] Create a user-friendly GUI
150136
- [ ] Randomize Tor Connection (Random Header and Identity)
151137
- [ ] Keyword/Phrase search
152138
- [ ] Social Media Integration
153-
- [ ] Increase anonymity and efficiency
139+
- [ ] Increase anonymity
140+
- [x] Increase efficiency
154141

155142
### Have ideas?
156143
If you have new ideas which is worth implementing, mention those by starting a new issue with the title [FEATURE_REQUEST].

gotor

Submodule gotor added at ddf4a70

src/api/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/api/endpoints.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)