This file contains hidden or 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
### DEBIAN STRETCH ### | |
PART I: python script | |
Become root. | |
1. $ sudo -i | |
Make fbctf directory in /opt | |
2. # cd /opt | |
3. # mkdir fbctf | |
Get my modified score_base.py script | |
4. # wget https://gist.githubusercontent.com/Bryan1998/772cf58e6aff7cf360387886f5af56ff/raw/0eae6687df97af7c8246ff468f142730c8375c3c/score_base.py |
This file contains hidden or 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
#!/bin/bash | |
echo -n `ls` | |
echo -e '\n---' | |
echo -n `ls` '.score_points' | |
echo -e '\n\ncompare both outputs, then use: echo "TEAM_NAME" > FILE_NAME' | |
echo -e 'where FILE_NAME is the extra file in one of the outputs' |
This file contains hidden or 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
#!/usr/bin/python3 | |
# ------------------------------------------------------------- | |
# BASE: Simple script to score points for the facebook CTF | |
# ------------------------------------------------------------- | |
# | |
# Written by Javier (@javutin) | |
# Modifed (slightly) by Bryan Hernandez (@Bryan1998) | |
import time | |
import json |