Update Tue Feb 14 06:20:04 AM CST 2023

This commit is contained in:
Dewalt 2023-02-14 06:20:04 -06:00
parent 4045f6b6f7
commit 7816ffb9ce
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,29 @@
--- Sublist3r/sublist3r.py 2023-02-14 06:40:49.062595544 -0500
+++ Sublist3r-fixed/sublist3r.py 2023-02-14 06:30:54.705545453 -0500
@@ -685,7 +685,7 @@
# Virustotal requires specific headers to bypass the bot detection:
self.headers["X-Tool"] = "vt-ui-main"
self.headers["X-VT-Anti-Abuse-Header"] = "hm" # as of 1/20/2022, the content of this header doesn't matter, just its presence
- self.headers["Accept-Ianguage"] = self.headers["Accept-Language"] # this header being present is required to prevent a captcha
+ self.headers["Accept-Language"] = self.headers["Accept-Language"] # this header being present is required to prevent a captcha
return
@@ -925,7 +925,7 @@
'ask': AskEnum,
'netcraft': NetcraftEnum,
'dnsdumpster': DNSdumpster,
- 'virustotal': Virustotal,
+# 'virustotal': Virustotal,
'threatcrowd': ThreatCrowd,
'ssl': CrtSearch,
'passivedns': PassiveDNS
@@ -936,7 +936,7 @@
if engines is None:
chosenEnums = [
BaiduEnum, YahooEnum, GoogleEnum, BingEnum, AskEnum,
- NetcraftEnum, DNSdumpster, Virustotal, ThreatCrowd,
+ NetcraftEnum, DNSdumpster, ThreatCrowd,
CrtSearch, PassiveDNS
]
else:

View File

@ -485,6 +485,28 @@ fix_spike () {
echo -e "\n $greenplus apt hold placed on spike package"
}
fix_liblibc() {
# amd64 / x86_64
if [[ "$arch" == "amd64" ]]
then
if [[ ! -f /usr/lib/x86_64-linux-gnu/liblibc.a ]]
then
ln -sf /usr/lib/x86_64-linux-gnu/libc.a /usr/lib/x86_64-linux-gnu/liblibc.a
echo -e "\n $greenplus Fixing $arch liblibc.a symlink /usr/lib/x86_64-linux-gnu/liblibc.a "
fi
fi
# arm64
if [[ "$arch" == "arm64" ]]
then
if [[ ! -f /usr/lib/aarch64-linux-gnu/liblibc.a ]]
then
ln -sf /usr/lib/aarch64-linux-gnu/libc.a /usr/lib/aarch64-linux-gnu/liblibc.a
echo -e "\n $greenplus Fixing $arch liblibc.a symlink.."
fi
fi
}
fix_mitm6() {
[[ -d /opt/mitm6 ]] && rm -rf /opt/mitm6 || git clone https://github.com/dirkjanm/mitm6 /opt/mitm6
git clone https://github.com/dirkjanm/mitm6 /opt/mitm6
@ -492,6 +514,7 @@ fix_mitm6() {
pip install typing twisted
pip install -r requirements.txt
python setup.py install
echo -e "\n $greenplus Fixing liblibc.a symlink.."
echo -e "\n $greenplus MITM6 installed.. "
}
@ -1026,6 +1049,7 @@ fix_impacket () {
eval pip install . $silent
rm -f /tmp/impacket-0.9.19.tar.gz
eval apt -y reinstall python3-impacket impacket-scripts $silent
sudo -i -u $finduser python3 -m pip install impacket --user --upgrade
echo -e "\n $greenplus installed: impacket-0.9.19 python-pip wheel impacket flask pyasn1"
echo -e "\n $greenplus installed: lsassy pycryptodomes pyOpenSSL ldap3 ldapdomaindump"
echo -e "\n $greenplus installed: python3-pip python3-impacket impacket-scripts"
@ -1484,6 +1508,7 @@ pimpmykali_menu () {
w|W) fix_gowitness;;
"=") get_mirrorlist; best_ping; small_speedtest; large_speedtest; gen_new_sources; cleanup;;
x|X) echo -e "\n\n Exiting pimpmykali.sh - Happy Hacking! \n" ;;
@) fix_liblibc;;
*) pimpmykali_menu ;;
esac
}