Skip to content

Commit

Permalink
EDR xor
Browse files Browse the repository at this point in the history
  • Loading branch information
rootTHC committed Nov 5, 2024
1 parent 1cb257d commit dcf48cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hackshell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ find_subdomains() {
# echo -n "XOREncodeThisSecret" | xor 0xfa
xor() {
_hs_dep perl
perl -e 'while($_ = getc()){ print $_^chr('"${1:-0xfa}"'); }'
perl -e 'while(<>){foreach $c (split //){print $c^chr('"${1:-0xfa}"');}}'
}

# HS_TRANSFER_PROVIDER="transfer.sh"
Expand Down

0 comments on commit dcf48cc

Please sign in to comment.