update docs #13
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
name: test pwnshop | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 23 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: info | |
run: | | |
ls -lR | |
git show | |
- name: install | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y python3-dev python3-pip build-essential libcapstone-dev | |
python -m pip install --upgrade pip | |
pip install pytest pytest-dependency | |
pip install . | |
- name: test | |
run: | | |
echo "pwncollege{TESTING}" | sudo tee /flag | |
cd .. | |
pwnshop -I pwnshop/example_module -c ShellExample --src | |
pwnshop -I pwnshop/example_module -c ShellExample --bin > /tmp/shell_example | |
file /tmp/shell_example | grep ELF | |
pwnshop -I pwnshop/example_module -c ShellExample --verify |