Al-Azif / ps4-exploit-host

Easy Exploit Hosting
MIT License
1.13k stars 277 forks source link

TypeError: main() takes 4 positional arguments but 5 were given on fakedns.py @ main method. #69

Closed Canser closed 6 years ago

Canser commented 6 years ago

Hello, your main function takes max. 4 arguments but you are sending 5 in start.py

ERROR: Unable to check Github repo to check for updates Traceback (most recent call last): File "start.py", line 874, in main() File "start.py", line 862, in main start_servers() File "start.py", line 715, in start_servers SETTINGS['Debug']) TypeError: main() takes 4 positional arguments but 5 were given

Al-Azif commented 6 years ago

Yeah, I haven't pushed the FakeDns changes to the repo. Which now takes an additional arg. You can edit the main() declaration in the fake DNS script to def main(interface, rule_array, ignore, ignore_domain, debug): as a workaround until I can push the changes

Canser commented 6 years ago

It works when you remove two array keys from the method call in your start.py and just send the array instead.