Skip to content

Commit

Permalink
Merge pull request #14 from x3rz/sanitize-patch
Browse files Browse the repository at this point in the history
command injection bypass fix in sanitize.py
  • Loading branch information
SofianeHamlaoui committed Jun 8, 2021
2 parents a8a14ee + 77ee328 commit 63c3477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lockdoors/sanitize.py
@@ -1,6 +1,6 @@
# input sanitization function
def bash_escape_restrictor(data):
escape_list = [";","&","|","*"," "]
escape_list = [";","&","|","*"," ","`"]
for charecter in data:
if charecter in escape_list:
data = data.split(charecter)[0]
Expand Down

0 comments on commit 63c3477

Please sign in to comment.