We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c5a2a1 commit 975b238Copy full SHA for 975b238
lab7/sol.py
@@ -1,6 +1,8 @@
1
import angr
2
import sys
3
+
4
proj = angr.Project('./login')
5
6
init_state = proj.factory.entry_state()
7
8
simulation = proj.factory.simgr(init_state)
@@ -16,6 +18,6 @@ def fail_condition(state):
16
18
if simulation.found:
17
19
solution = simulation.found[0]
20
password = solution.posix.dumps(sys.stdin.fileno()).strip()
- print(password.decode())
21
+ print(password.decode())
22
else:
23
print("Password not found.")
0 commit comments