-
-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from DedSecInside/feature/torbotv2.1
Torbot v2.1.0
- Loading branch information
Showing
84 changed files
with
646 additions
and
16,330 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[flake8] | ||
max-line-length = 119 |
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
This file was deleted.
Oops, something went wrong.
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,66 @@ | ||
[style] | ||
based_on_style=pep8 | ||
|
||
# The column limit. | ||
column_limit=119 | ||
|
||
# Align closing bracket with visual indentation. | ||
align_closing_bracket_with_visual_indent=False | ||
|
||
allow_split_before_dict_value = False | ||
|
||
# Put closing brackets on a separate line, dedented, if the bracketed | ||
# expression can't fit in a single line. Applies to all kinds of brackets, | ||
# including function definitions and calls. For example: | ||
# | ||
# config = { | ||
# 'key1': 'value1', | ||
# 'key2': 'value2', | ||
# } # <--- this bracket is dedented and on a separate line | ||
# | ||
# time_series = self.remote_client.query_entity_counters( | ||
# entity='dev3246.region1', | ||
# key='dns.query_latency_tcp', | ||
# transform=Transformation.AVERAGE(window=timedelta(seconds=60)), | ||
# start_ts=now()-timedelta(days=3), | ||
# end_ts=now(), | ||
# ) # <--- this bracket is dedented and on a separate line | ||
dedent_closing_brackets=True | ||
|
||
# Insert a space between the ending comma and closing bracket of a list, | ||
# etc. | ||
space_between_ending_comma_and_closing_bracket=False | ||
|
||
# Split after the opening parenthesis which surrounds an expression if it doesn't | ||
# fit on a single line. | ||
split_before_expression_after_opening_paren=True | ||
|
||
# Set to True to split list comprehensions and generators that have | ||
# non-trivial expressions and multiple clauses before each of these | ||
# clauses. For example: | ||
# | ||
# result = [ | ||
# a_long_var + 100 for a_long_var in xrange(1000) | ||
# if a_long_var % 10] | ||
# | ||
# would reformat to something like: | ||
# | ||
# result = [ | ||
# a_long_var + 100 | ||
# for a_long_var in xrange(1000) | ||
# if a_long_var % 10] | ||
split_complex_comprehension=True | ||
|
||
# Insert a blank line before a 'def' or 'class' immediately nested | ||
# within another 'def' or 'class'. For example: | ||
# | ||
# class Foo: | ||
# # <------ this blank line | ||
# def method(): | ||
# ... | ||
blank_line_before_nested_class_or_def=True | ||
|
||
# The i18n function call names. The presence of this function stops | ||
# reformatting on that line, because the string it has cannot be moved | ||
# away from the i18n comment. | ||
i18n_function_call=['_'] |
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
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,40 @@ | ||
# @InProceedings{10.1007/978-981-15-0146-3_19, | ||
# author="Narayanan, P. S. | ||
# and Ani, R. | ||
# and King, Akeem T. L.", | ||
# editor="Ranganathan, G. | ||
# and Chen, Joy | ||
# and Rocha, {\'A}lvaro", | ||
# title="TorBot: Open Source Intelligence Tool for Dark Web", | ||
# booktitle="Inventive Communication and Computational Technologies", | ||
# year="2020", | ||
# publisher="Springer Singapore", | ||
# address="Singapore", | ||
# pages="187--195", | ||
# abstract="The dark web has turned into a dominant source of illegal activities. With several volunteered networks, it is becoming more difficult to track down these services. Open source intelligence (OSINT) is a technique used to gather intelligence on targets by harvesting publicly available data. Performing OSINT on the Tor network makes it a challenge for both researchers and developers because of the complexity and anonymity of the network. This paper presents a tool which shows OSINT in the dark web. With the use of this tool, researchers and Law Enforcement Agencies can automate their task of crawling and identifying different services in the Tor network. This tool has several features which can help extract different intelligence.", | ||
# isbn="978-981-15-0146-3" | ||
# } | ||
|
||
cff-version: 1.2.0 | ||
message: "If you use this software, please cite the following paper:" | ||
authors: | ||
- family-names: P. S. | ||
given-names: Narayanan | ||
affiliation: Department of Computer Science and Applications, Amrita Vishwa Vidyapeetham, Amritapuri, Kollam, India | ||
- family-names: Akeem T. L. | ||
given-names: King | ||
affiliation: USPA Technologies | ||
- family-names: R | ||
given-names: Ani | ||
affiliation: Department of Computer Science and Applications, Amrita Vishwa Vidyapeetham, Amritapuri, Kollam, India | ||
keywords: | ||
- tor | ||
- research | ||
- osint | ||
identifiers: | ||
- type: doi | ||
value: 10.1007/978-981-15-0146-3_19 | ||
license: GNU Public License | ||
reposiory-code: https://github.com/DedSecInside/TorBot | ||
title: TorBot - Open Source Intelligence Tool for Dark Web | ||
date-released: 2020-01-30 |
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
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 |
---|---|---|
@@ -1,21 +1,24 @@ | ||
FROM python:3 | ||
FROM python:3.9 | ||
LABEL maintainer="dedsec_inside" | ||
|
||
# Install PyQt5 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends python3-pyqt5 \ | ||
&& apt-get install -y virtualenv \ | ||
&& apt-get install -y tor \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
RUN pip install --no-cache-dir poetry | ||
RUN poetry config virtualenvs.create false | ||
RUN python -m poetry install --no-dev | ||
# Create virtual env | ||
RUN virtualenv venv --python=python3.9 | ||
RUN source venv/bin/activate | ||
RUN pip install -r requirements.txt | ||
|
||
|
||
RUN chmod +x install.sh | ||
RUN bash install.sh | ||
|
||
ENTRYPOINT ["./torBot", "--ip", "tor"] | ||
ENTRYPOINT ["./run.py", "--ip", "tor"] |
Submodule gotor
updated
from ddf4a7 to d12394
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 |
---|---|---|
@@ -1,25 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Makes directory for dependencies and executable to be installed | ||
mkdir -p tmp_build | ||
mkdir -p tmp_build | ||
mkdir -p tmp_dist | ||
|
||
# attempt to install pyinstaller using pip, python3 is prioritized | ||
if command -v poetry &> /dev/null; then | ||
poetry install | ||
poetry update | ||
else | ||
echo "poetry is required for installation." | ||
exit 1 | ||
fi | ||
|
||
pip install pyinstaller | ||
|
||
# Creates executable file and sends dependences to the recently created directories | ||
pyinstaller --onefile --workpath ./tmp_build --distpath ./tmp_dist --paths=src src/torBot.py | ||
pyinstaller --onefile --workpath ./tmp_build --distpath ./tmp_dist --paths=src torbot/main.py | ||
|
||
# Puts the executable in the current directory | ||
mv tmp_dist/torBot . | ||
mv tmp_dist/torBot . | ||
|
||
# Removes both directories and unneeded file | ||
rm -r tmp_build tmp_dist | ||
rm torBot.spec | ||
rm torBot.spec |
Oops, something went wrong.