Skip to content

Commit

Permalink
Remove python2 shebangs where appropriate (#1692)
Browse files Browse the repository at this point in the history
* Remove python2 shebangs where appropriate

* Update CHANGELOG.md
  • Loading branch information
mariuszskon authored Oct 5, 2020
1 parent a0b3b24 commit 1d6aa2e
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ The table below shows which release corresponds to each branch, and what date th
- [#1678][1678] ROPGadget multibr
- [#1682][1682] ROPGadget multibr fix
- [#1688][1688] Add `__setattr__` and `__call__` interfaces to `ROP` for setting registers
- [#1692][1692] Remove python2 shebangs where appropriate

[1602]: https://github.com/Gallopsled/pwntools/pull/1602
[1606]: https://github.com/Gallopsled/pwntools/pull/1606
Expand All @@ -88,6 +89,7 @@ The table below shows which release corresponds to each branch, and what date th
[1678]: https://github.com/Gallopsled/pwntools/pull/1678
[1682]: https://github.com/Gallopsled/pwntools/pull/1679
[1688]: https://github.com/Gallopsled/pwntools/pull/1688
[1692]: https://github.com/Gallopsled/pwntools/pull/1692

## 4.3.0 (`beta`)

Expand Down
2 changes: 0 additions & 2 deletions pwnlib/args.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

#!/usr/bin/env python2
"""
Pwntools exposes several magic command-line arguments and environment
variables when operating in `from pwn import *` mode.
Expand Down
1 change: 0 additions & 1 deletion pwnlib/context/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Implements context management so that nested/scoped contexts and threaded
Expand Down
1 change: 0 additions & 1 deletion pwnlib/encoders/i386/xor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Source:
# http://www.iodigitalsec.com/python-cascading-xor-polymorphic-shellcode-generator/
#
Expand Down
1 change: 0 additions & 1 deletion pwnlib/encoders/mips/xor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Source:
# https://github.com/zcutlip/bowcaster/blob/master/src/bowcaster/encoders/mips.py
#
Expand Down
1 change: 0 additions & 1 deletion pwnlib/term/readline.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
Expand Down
1 change: 0 additions & 1 deletion pwnlib/timeout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Timeout encapsulation, complete with countdowns and scope managers.
Expand Down
1 change: 0 additions & 1 deletion pwnlib/tubes/buffer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
from __future__ import absolute_import
from __future__ import division

Expand Down
1 change: 0 additions & 1 deletion pwnlib/util/sh_string.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
r"""
Routines here are for getting any NULL-terminated sequence of bytes evaluated
Expand Down

0 comments on commit 1d6aa2e

Please sign in to comment.