Skip to content

Commit

Permalink
command injection bypass fix in sanitize.py
Browse files Browse the repository at this point in the history
  • Loading branch information
x3rz committed Jun 4, 2021
1 parent cf46e00 commit 77ee328
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 77ee328

Please sign in to comment.