diff --git a/test.py b/test.py index 360ad4a..5cd4254 100644 --- a/test.py +++ b/test.py @@ -13,4 +13,9 @@ # main if __name__ == '__main__': +# critical vuln example APS +user_input = input("Enter filename to read: ") +with open(user_input, 'r') as file: # Vulnerable to directory traversal + content = file.read() + print('hello Github world')