Skip to content
Permalink
Browse files

Update coreUtils.py

added function for adding escape character for " in payloads, only used in Custom Command Prompt payload for now
  • Loading branch information
RedLectroid committed Aug 1, 2018
1 parent 1ea6e58 commit 4a302a8e24e2174a958b342257c6e64a84aaa8d2
Showing with 4 additions and 1 deletion.
  1. +4 −1 coreUtils.py
@@ -118,4 +118,7 @@ def checkQuotes(string):
else:
string = '\\\"' + string + '\\\"'
return string


def addEscape(string):
string = string.replace('"','\\"')
return string

0 comments on commit 4a302a8

Please sign in to comment.
You can’t perform that action at this time.