Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Remove nose from examples/secconquals2016_ropsynth #456

Merged
merged 1 commit into from
Feb 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions examples/secconquals2016_ropsynth/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import struct
import base64
import time
import nose
import unittest

import angr
import angrop #pylint:disable=unused-variable
Expand Down Expand Up @@ -180,13 +180,11 @@ def get_gadgets():
return final_payload

def test():
#r = pwn.remote('ropsynth.pwn.seccon.jp', 10000)
#r = pwn.process("./ropsynth.py", stderr=2)
try:
r = subprocess.Popen(["./ropsynth.py"], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
except OSError as e:
if e.errno == 12:
raise nose.SkipTest()
raise unittest.SkipTest()
else:
raise

Expand Down