-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'stable' into beta-staging
- Loading branch information
Showing
11 changed files
with
146 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: backport-required, bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
Thanks for contributing to Pwntools! | ||
|
||
## Update Pwntools First | ||
|
||
When reporting an issue, be sure that you are running the latest released version of pwntools (`pip install --upgrade pwntools`). | ||
|
||
## Debug Output | ||
|
||
Having the extra debug output really helps us, and might help you diagnose the problem yourself. | ||
|
||
When submitting an issue that has output from Pwntools, make sure to run your script as shown below, to enable the extra debugging data. | ||
|
||
```sh | ||
$ python exploit.py DEBUG LOG_FILE=log.txt | ||
``` | ||
|
||
You should see `[DEBUG]` statements that show what's happening behind the scenes: | ||
|
||
``` | ||
[+] Starting local process '/bin/sh' argv=['sh'] : pid 16823 | ||
[DEBUG] Sent 0x7 bytes: | ||
'whoami\n' | ||
[DEBUG] Sent 0x5 bytes: | ||
'exit\n' | ||
[+] Receiving all data: Done (11B) | ||
[DEBUG] Received 0xb bytes: | ||
'crashheap\n' | ||
[*] Process '/bin/sh' stopped with exit code 0 (pid 16823) | ||
``` | ||
|
||
## Verify on Ubuntu | ||
|
||
If possible, please verify that your issue occurs on 64-bit Ubuntu 18.04. We provide a Dockerfile based on Ubuntu 18.04 via `docker.io` to make this super simple, no VM required! | ||
|
||
```sh | ||
# Download the Docker image | ||
$ docker pull pwntools/pwntools:stable | ||
|
||
# Boot the image | ||
$ docker run -it pwntools/pwntools:stable | ||
|
||
pwntools@7dc3ef409476:~$ python | ||
>>> from pwn import * | ||
>>> # Test your code here | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: feature | ||
assignees: '' | ||
|
||
--- | ||
|
||
Thanks for contributing to Pwntools! Ideas from the community help make Pwntools an amazing tool for everybody. | ||
|
||
If you've got an idea for a new feature, please provide information about: | ||
|
||
* What the feature does | ||
* Why the feature should exit | ||
* What tests should be included | ||
|
||
If you think you can write the feature yourself, please submit a Pull Request and we can review your changes! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Question | ||
about: Ask us a question about Pwntools | ||
title: '' | ||
labels: question | ||
assignees: '' | ||
|
||
--- | ||
|
||
Thanks for using Pwntools! If you have a question, here are some tips that will make it easier for us to help you. | ||
|
||
## Check the Documentation | ||
|
||
Pwntools has REALLY extensive documentation. Please check there first! https://docs.pwntools.com | ||
|
||
## Debug Output | ||
|
||
If you're having an issue with an exploit, run your script with full debugging output, i.e. `python exploit.py DEBUG`. This may help you to see what's happening under the hood, and the debug output will help to diagnose any issues you're encountering. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.