当我运行程序时,它打印126次无限次,怎么ch将取值126?

时间:2017-04-30 12:59:25

标签: c

           Please enter the name of your malsivus apk :apk
            Traceback (most recent call last):
              File "C:\Users\Master\Documents\GitHub\HIDAAF\hidaaf.py", line 52, in <module>
                List_Payloads()
              File "C:\Users\Master\Documents\GitHub\HIDAAF\hidaaf.py", line 41, in List_Payloads
                Generate_Payload(filenames[payload - 1 ])
              File "C:\Users\Master\Documents\GitHub\HIDAAF\hidaaf.py", line 18, in Generate_Payload
                shell_name= input("Please enter the name of your malicious apk :")
              File "<string>", line 1, in <module>
            NameError: name 'apk' is not defined

1 个答案:

答案 0 :(得分:0)

你还没有初始化ch,所以每次运行程序时它都可以是任何东西,在这种情况下它是126