Skip to content

Instantly share code, notes, and snippets.

View Bryan1998's full-sized avatar

Bryan Hernandez Bryan1998

  • Kennewick, WA
View GitHub Profile
@Bryan1998
Bryan1998 / fbctf-bases.txt
Last active February 28, 2020 00:56
FBCTF Bases
### 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
#!/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'
@Bryan1998
Bryan1998 / score_base.py
Last active June 21, 2018 17:57
FBCTF Base Script (Modified)
#!/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