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 b50e461 commit 1cb257d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hackshell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,12 @@ find_subdomains() {
grep -Eaohr "$rex" "$@" | grep -Eo "$rexf"
}

# echo -n "XOREncodeThisSecret" | xor 0xfa
xor() {
_hs_dep perl
perl -e 'while($_ = getc()){ print $_^chr('"${1:-0xfa}"'); }'
}

# HS_TRANSFER_PROVIDER="transfer.sh"
HS_TRANSFER_PROVIDER="oshi.at"

Expand Down

0 comments on commit 1cb257d

Please sign in to comment.