Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Pollard_p_1 attack #10

Closed
deltaclock opened this issue Jan 18, 2018 · 5 comments
Closed

Error on Pollard_p_1 attack #10

deltaclock opened this issue Jan 18, 2018 · 5 comments

Comments

@deltaclock
Copy link

@deltaclock deltaclock commented Jan 18, 2018

[*] Performing Pollard_p_1 attack.
Traceback (most recent call last):
File "/home/kali/pentest/tools/RsaCtfTool/RsaCtfTool.py", line 488, in
attackobj.attack()
File "/home/kali/pentest/tools/RsaCtfTool/RsaCtfTool.py", line 391, in attack
getattr(self, attack.name)()
File "/home/kali/pentest/tools/RsaCtfTool/RsaCtfTool.py", line 369, in Pollard_p_1
self.pub_key.p, self.pub_key.q = pollard_P_1(self.pub_key.n)
TypeError: 'int' object is not iterable

@maxitis92
Copy link

@maxitis92 maxitis92 commented Jan 19, 2018

i have the same problem

@Nakazona
Copy link

@Nakazona Nakazona commented Jan 24, 2018

Same

@helmhammerhand
Copy link

@helmhammerhand helmhammerhand commented Jan 31, 2018

I had the same issue. It is fixable by changing line 49 in p_1.py from 'return 0' to 'return 0,None'

@maxitis92
Copy link

@maxitis92 maxitis92 commented Feb 5, 2018

i have other problem.

./RsaCtfTool.py --publickey ./key.pub --uncipher ./flag.enc

[*] Warning: Modulus too large for SIQS attack module
[-] Sorry, cracking failed

@pr0mming
Copy link

@pr0mming pr0mming commented Feb 11, 2018

Interestingly this problem does not arise in previous versions like this fork -> https://github.com/sourcekris/RsaCtfTool

@enedil enedil mentioned this issue Feb 17, 2018
@Ganapati Ganapati closed this in #12 Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants