You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gpg --auto-key-locate nodefault,wkd --locate-keys [email protected]|| { echo"Failed to import Tor Browser Developers signing key"; add_to_error_log "Failed to import Tor Browser Developers signing key";return 1; }
85
-
86
-
# Export the key to a file
87
-
local keyring_path="$download_dir/tor.keyring"
88
-
gpg --output "$keyring_path" --export 0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290 || { echo"Failed to export Tor Browser Developers signing key"; add_to_error_log "Failed to export Tor Browser Developers signing key";return 1; }
89
-
90
-
# Fetch the latest Tor Browser download link (assuming the link is on the download page)
91
-
local tor_browser_link="https://www.torproject.org/dist/torbrowser/13.0.14/tor-browser-linux-x86_64-13.0.14.tar.xz"
92
-
local tor_browser_dir="$download_dir/tor-browser"
93
-
94
-
if [ -z"$tor_browser_link" ];then
95
-
echo"Failed to find Tor Browser download link"
96
-
add_to_error_log "Failed to find Tor Browser download link"
97
-
return 1
98
-
fi
99
-
100
-
# Download the latest Tor Browser tarball and its signature file
101
-
local tor_browser_tarball="$download_dir/$(basename "$tor_browser_link")"
102
-
curl -L "$tor_browser_link" -o "$tor_browser_tarball"|| { echo"Failed to download Tor Browser"; add_to_error_log "Failed to download Tor Browser";return 1; }
103
-
curl -L "${tor_browser_link}.asc" -o "${tor_browser_tarball}.asc"|| { echo"Failed to download Tor Browser signature"; add_to_error_log "Failed to download Tor Browser signature";return 1; }
104
-
105
-
# Verify the signature with gpgv
106
-
gpgv --keyring "$keyring_path""${tor_browser_tarball}.asc""$tor_browser_tarball"|| { echo"Failed to verify Tor Browser signature"; add_to_error_log "Failed to verify Tor Browser signature";return 1; }
107
-
108
-
# Extract the Tor Browser
109
-
tar -xf "$tor_browser_tarball" -C "$download_dir"|| { echo"Failed to extract Tor Browser"; add_to_error_log "Failed to extract Tor Browser";return 1; }
110
-
111
-
if [ -f"$tor_browser_dir/start-tor-browser.desktop" ];then
112
-
cd"$tor_browser_dir"|| { echo"Failed to navigate to Tor Browser directory"; add_to_error_log "Failed to navigate to Tor Browser directory";return 1; }
113
-
./start-tor-browser.desktop --register-app || { echo"Failed to register Tor Browser as a desktop application"; add_to_error_log "Failed to register Tor Browser as a desktop application";return 1; }
114
-
else
115
-
echo"start-tor-browser.desktop not found in $tor_browser_dir"
116
-
add_to_error_log "start-tor-browser.desktop not found in $tor_browser_dir"
117
-
return 1
118
-
fi
119
-
}
120
79
121
80
122
81
@@ -139,23 +98,14 @@ install_phoneinfoga() {
139
98
# Function to install Python packages
140
99
install_python_packages() {
141
100
pipx install youtube-dl || { echo"Failed to install youtube-dl"; add_to_error_log "Failed to install youtube-dl"; }
142
-
pip3 install dnsdumpster || { echo"Failed to install dnsdumpster"; add_to_error_log "Failed to install dnsdumpster"; }
143
-
pipx install h8mail || { echo"Failed to install h8mail"; add_to_error_log "Failed to install h8mail"; }
101
+
#pip3 install dnsdumpster || { echo "Failed to install dnsdumpster"; add_to_error_log "Failed to install dnsdumpster"; }
144
102
pipx install toutatis || { echo"Failed to install toutatis"; add_to_error_log "Failed to install toutatis"; }
145
-
pip3 install tweepy || { echo"Failed to install tweepy"; add_to_error_log "Failed to install tweepy"; }
146
-
pip3 install onionsearch || { echo"Failed to install onionsearch"; add_to_error_log "Failed to install onionsearch"; }
103
+
#pip3 install tweepy || { echo "Failed to install tweepy"; add_to_error_log "Failed to install tweepy"; }
104
+
pipx install onionsearch || { echo"Failed to install onionsearch"; add_to_error_log "Failed to install onionsearch"; }
147
105
}
148
106
149
107
150
-
# Function to install sn0int
151
-
install_sn0int() {
152
-
mkdir -p ~/github-tools || { echo"Failed to create github-tools directory"; add_to_error_log "Failed to create github-tools directory"; }
153
-
cd~/github-tools || { echo"Failed to navigate to github-tools directory"; add_to_error_log "Failed to navigate to github-tools directory"; }
echo"deb http://apt.vulns.sexy stable main"| sudo tee /etc/apt/sources.list.d/apt-vulns-sexy.list || { echo"Failed to add sn0int to sources list"; add_to_error_log "Failed to add sn0int to sources list"; }
156
-
sudo apt update || { echo"Failed to update package lists for sn0int"; add_to_error_log "Failed to update package lists for sn0int"; }
157
-
sudo apt install sn0int -y || { echo"Failed to install sn0int"; add_to_error_log "Failed to install sn0int"; }
158
-
}
108
+
159
109
160
110
161
111
@@ -164,7 +114,7 @@ install_sn0int() {
164
114
165
115
# Function to update TJ Null Joplin Notebook
166
116
update_tj_null_joplin_notebook() {
167
-
if [ -d"~/Desktop/TJ-OSINT-Notebook" ];then
117
+
if [ -d~/Desktop/TJ-OSINT-Notebook ];then
168
118
cd~/Desktop/TJ-OSINT-Notebook && git pull || { echo"Failed to update TJ-OSINT-Notebook"; add_to_error_log "Failed to update TJ-OSINT-Notebook";return 1; }
169
119
else
170
120
cd~/Desktop && git clone https://github.com/tjnull/TJ-OSINT-Notebook.git || { echo"Failed to clone TJ-OSINT-Notebook"; add_to_error_log "Failed to clone TJ-OSINT-Notebook";return 1; }
0 commit comments