This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 283
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 #46 from SusmithKrishnan/development
Version 3.0
- Loading branch information
Showing
5 changed files
with
240 additions
and
404 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 |
---|---|---|
@@ -1,25 +1,7 @@ | ||
clear | ||
echo "******* Torghost installer ********" | ||
echo "" | ||
echo "=====> Installing tor bundle " | ||
sudo apt-get install tor -y -qq | ||
echo "=====> Installing TorGhost & dependencies " | ||
|
||
pyv="$(python -V 2>&1)" || pyv="$(python3 -V 2>&1)" | ||
pyv=${pyv:7:1} | ||
|
||
if [[ $pyv == "3" ]] | ||
then | ||
sudo pip3 install stem | ||
sudo cp torghost3 /usr/bin/torghost | ||
else | ||
sudo pip install stem | ||
sudo cp torghost /usr/bin/torghost | ||
fi | ||
sudo chmod +x /usr/bin/torghost | ||
echo "=====> Restarting tor service" | ||
sudo systemctl stop tor | ||
sudo systemctl enable tor | ||
sudo systemctl start tor | ||
echo "Torghost installer v3.0" | ||
echo "Installing prerequisites " | ||
sudo apt-get install tor python-pip -y | ||
echo "Installing dependencies " | ||
pip install -r requirements.txt | ||
pyinstaller torghost.py | ||
echo "=====> Done " | ||
echo "=====> Open terminal and type 'torghost' for usage " |
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 @@ | ||
stem==1.7.1 | ||
PyInstaller==3.5 |
Oops, something went wrong.