SoledaD208 / CVE-2018-10933

CVE-2018-10933 very simple POC
127 stars 40 forks source link

Error on line 38 #7

Open hotpheex opened 6 years ago

hotpheex commented 6 years ago

38: print(f'SSH Exception: {e}', file=sys.stdout)

Should be: 38: printf('SSH Exception: {e}', file=sys.stdout)

gregsonar commented 6 years ago

This is not an error; it is a string formatting: https://www.python.org/dev/peps/pep-0498/#abstract

slow-down commented 6 years ago

@gregsonar well it is, because it says "SyntaxError: invalid syntax" on that line. and i have python3.5, also tested with 2.7. both didnt work

brammittendorff commented 6 years ago

Fixed this with PR.

SoledaD208 commented 6 years ago

thanks @brammittendorff , merged it to master

brammittendorff commented 6 years ago

@SoledaD208 No problem. @hotpheex @gregsonar @slow-down please let us know if it works now, so we can close this Issue.

dekelb commented 6 years ago

@brammittendorff yes, this solve the issue for python <3.6

brammittendorff commented 6 years ago

@dekelb Thanks for checking. @SoledaD208 now you can close this issue.