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
// by Victor Azzam and Gerard O'Brien | |
// B00099167 B00099300 | |
#include <Servo.h> // Include servo library | |
Servo servoLeft; // Declare servos | |
Servo servoRight; | |
void setup() | |
{ |
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
#!/usr/bin/env python3 | |
# | |
# A peer-to-peer game of Battleship because who doesn't like a bit of P2P gaming? Enjoy :D | |
# | |
# First edit: November 18th 2015 | |
# Last edit: March 5th 2019 | |
# Author: Victor Azzam | |
import re | |
import signal |
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
#!/usr/bin/env python3 | |
import bs4, getpass, urllib3 | |
url = "https://ringzer0ctf.com" | |
url1 = f"{url}/login" | |
url2 = f"{url}/challenges" | |
# Set up the connection pool | |
http = urllib3.PoolManager() |
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
#!/usr/bin/env python3 | |
from sys import argv, exit | |
u = "Usage: morsecode <from> <text>\nTypes: morse (m), english (e)" | |
e = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" | |
m = ".- -... -.-. -.. . ..-. --. .... .. .--- -.- .-.. -- -. --- .--. --.- .-. ... - ..- ...- .-- -..- -.-- --.. ----- .---- ..--- ...-- ....- ..... -.... --... ---.. ----.".split() | |
english = dict(zip(e, m)) | |
morse = dict(zip(m, e)) |
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
#!/usr/bin/env python3 | |
import sys, socket, threading, readline | |
IP = sys.argv[1] | |
PORT = int(sys.argv[2]) | |
UDP = socket.SOCK_DGRAM | |
TCP = socket.SOCK_STREAM |
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
#!/usr/bin/env python3 | |
from sys import argv, stdout, exit | |
from threading import Thread | |
import re, socket, random, gnureadline | |
PORT = 6310 | |
def Bind_UDP(): | |
global sock2 |
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
#!/usr/bin/env python3 | |
import os, sys | |
if not sys.argv[1:]: | |
sys.exit("Usage: bfi.py file [input]") | |
if not os.path.isfile(sys.argv[1]): | |
sys.exit("File not found.") |