Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gallopsled/gallopsled.github.io
Pwntools Blog
https://github.com/gallopsled/gallopsled.github.io
assembly blog capture-the-flag ctf ctf-framework defcon exploit exploit-development exploit-exercises exploitation pwntools python python3
Last synced: 7 days ago
JSON representation
Pwntools Blog
- Host: GitHub
- URL: https://github.com/gallopsled/gallopsled.github.io
- Owner: Gallopsled
- License: other
- Created: 2021-02-02T11:19:33.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-09T04:46:17.000Z (over 3 years ago)
- Last Synced: 2024-11-07T04:36:40.481Z (about 2 months ago)
- Topics: assembly, blog, capture-the-flag, ctf, ctf-framework, defcon, exploit, exploit-development, exploit-exercises, exploitation, pwntools, python, python3
- Language: CSS
- Homepage:
- Size: 4.73 MB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pwntools Blog
## Setup and Requirements
This blog is based on Hugo, and requires Pygments to be installed for syntax highlighting.
### macOS Installation
```sh
brew install hugo pygments
```## Creating a New Blog Post
```
hugo new posts/your-post-name.md
vim posts/your-post-name.md
```## Publishing a New Article
First, in the Front End Matter of the post, set `draft` to `false`.
Next, commit the article to Git and push it to GitHub. An automatic GitHub Action should take care of everything else, and automagically render and publish the raw HTML to `blog.pwntools.com`.
## Colorized Script Output
In order to get colorized output into the blog post, you'll need a command that looks like this:
```
PWNLIB_COLOR=always python3 exploit.py DEBUG | ansifilter --encoding=utf-8 --html --fragment -o output.html
```Copy the contents of the output HTML document into the blog post, and surround with a `rawhtml` block.
```
{{< rawhtml >}}
Paste contents here
{{< /rawhtml >}}
```