karnel-termux 4.17.36 → 4.17.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/karnel/RELEASE_COMMIT +1 -1
- package/karnel/tools/ai/opencode/install.sh +2 -2
- package/karnel/tools/security/aircrack-ng/install.sh +6 -2
- package/karnel/tools/security/binwalk/install.sh +6 -2
- package/karnel/tools/security/dirb/install.sh +6 -2
- package/karnel/tools/security/exiftool/install.sh +6 -2
- package/karnel/tools/security/foremost/install.sh +6 -2
- package/karnel/tools/security/hashcat/install.sh +6 -2
- package/karnel/tools/security/hydra/install.sh +6 -2
- package/karnel/tools/security/john/install.sh +6 -2
- package/karnel/tools/security/netcat/install.sh +7 -3
- package/karnel/tools/security/nmap/install.sh +6 -2
- package/karnel/tools/security/smbclient/install.sh +6 -2
- package/karnel/tools/security/steghide/install.sh +6 -2
- package/karnel/tools/security/tcpdump/install.sh +6 -2
- package/karnel/tools/security/whois/install.sh +6 -2
- package/karnel/tools/utils/applaunch/install.sh +1 -1
- package/karnel/tools/utils/fconv/install.sh +1 -1
- package/karnel/tools/utils/filecheck/install.sh +1 -1
- package/karnel/tools/utils/httptmux/install.sh +1 -1
- package/karnel/tools/utils/passman/install.sh +1 -1
- package/karnel/tools/utils/qrcode/install.sh +1 -1
- package/karnel/tools/utils/splash/install.sh +1 -1
- package/karnel/tools/utils/treex/install.sh +1 -1
- package/karnel/tools/utils/websites/install.sh +1 -1
- package/package.json +1 -1
package/karnel/RELEASE_COMMIT
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a175813fae11dcb0b9a2e5653f1bfcceccbec70a
|
|
@@ -116,7 +116,7 @@ _install_opencode_proot_impl() {
|
|
|
116
116
|
"$ubuntu_root" "$PREFIX/bin/opencode" || return 1
|
|
117
117
|
|
|
118
118
|
if ! grep -q '.opencode/bin' "$ubuntu_root/root/.bashrc" 2>/dev/null; then
|
|
119
|
-
printf '\n# opencode\nexport PATH=/root/.opencode/bin:$PATH\n' >>"$ubuntu_root/root/.bashrc"
|
|
119
|
+
printf '\n# opencode\nexport PATH=/root/.opencode/bin:$PATH\n# end opencode\n' >>"$ubuntu_root/root/.bashrc"
|
|
120
120
|
fi
|
|
121
121
|
|
|
122
122
|
return 0
|
|
@@ -163,7 +163,7 @@ uninstall_opencode() {
|
|
|
163
163
|
local ubuntu_root
|
|
164
164
|
ubuntu_root="$(detect_ubuntu_root)/root/.bashrc"
|
|
165
165
|
if [ -f "$ubuntu_root" ]; then
|
|
166
|
-
sed -i '/# opencode
|
|
166
|
+
sed -i '/# opencode$/,/# end opencode$/d' "$ubuntu_root"
|
|
167
167
|
fi
|
|
168
168
|
|
|
169
169
|
if rm -f "$PREFIX/bin/opencode" &>>"$LOG_FILE"; then
|
|
@@ -19,8 +19,12 @@ install_aircrack_ng() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_aircrack_ng() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_aircrack_ng() {
|
|
@@ -19,8 +19,12 @@ install_binwalk() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_binwalk() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_binwalk() {
|
|
@@ -19,8 +19,12 @@ install_dirb() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_dirb() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_dirb() {
|
|
@@ -19,8 +19,12 @@ install_exiftool() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_exiftool() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_exiftool() {
|
|
@@ -19,8 +19,12 @@ install_foremost() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_foremost() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_foremost() {
|
|
@@ -19,8 +19,12 @@ install_hashcat() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_hashcat() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_hashcat() {
|
|
@@ -19,8 +19,12 @@ install_hydra() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_hydra() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_hydra() {
|
|
@@ -19,8 +19,12 @@ install_john() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_john() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_john() {
|
|
@@ -18,9 +18,13 @@ install_netcat() {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
uninstall_netcat() {
|
|
21
|
-
log_info "Removendo
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
21
|
+
log_info "Removendo $_TOOL..."
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_netcat() {
|
|
@@ -19,8 +19,12 @@ install_nmap() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_nmap() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_nmap() {
|
|
@@ -19,8 +19,12 @@ install_smbclient() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_smbclient() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_smbclient() {
|
|
@@ -19,8 +19,12 @@ install_steghide() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_steghide() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_steghide() {
|
|
@@ -19,8 +19,12 @@ install_tcpdump() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_tcpdump() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_tcpdump() {
|
|
@@ -19,8 +19,12 @@ install_whois() {
|
|
|
19
19
|
|
|
20
20
|
uninstall_whois() {
|
|
21
21
|
log_info "Removendo $_TOOL..."
|
|
22
|
-
pkg uninstall -y "$_PKG" 2>/dev/null ||
|
|
23
|
-
|
|
22
|
+
if pkg uninstall -y "$_PKG" 2>/dev/null || apt remove -y "$_PKG" 2>/dev/null; then
|
|
23
|
+
log_success "$_TOOL removido"
|
|
24
|
+
return 0
|
|
25
|
+
fi
|
|
26
|
+
log_error "Falha ao remover $_TOOL"
|
|
27
|
+
return 1
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
update_whois() {
|
|
@@ -4,7 +4,7 @@ import "@/utils/log"
|
|
|
4
4
|
import "@/utils/version"
|
|
5
5
|
import "@/utils/downloaded-python"
|
|
6
6
|
|
|
7
|
-
LOG_FILE="$KARNEL_CACHE/
|
|
7
|
+
LOG_FILE="$KARNEL_CACHE/install_utils.log"
|
|
8
8
|
DOWNLOAD_URL="https://raw.githubusercontent.com/dedsec1121fk/DedSec/87d69293f4b89b8ab114fa644074629e86313182/Scripts/Network%20Tools/QR%20Code%20Generator.py"
|
|
9
9
|
|
|
10
10
|
_qrcode_dependencies() {
|
package/package.json
CHANGED