Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
import sys
import serial
import getopt
port = None
file = None
baudrate = 115200
#!/usr/bin/python
import sys
import serial
a = "[000F5BD7][0x00015c60] 1000d8e4 100070dd 10006ad5 1000a482"
# 0x00015c60
reflen = len(a)
#!/usr/bin/python
# Balong MCU Console Dump Extractor
import sys
import os
lastaddr = 0x0
if __name__ == "__main__":
<body>
<style>
input[type=text] {
width: 40%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border: 2px solid red;
background-color: #ebfff8;
border-radius: 4px;
<?php
class Test{
protected $_data = array(
"jackpot" => "12345"
);
var $enter;
}
$obj = new Test;
<?php
include "flag.php";
$_403 = "Access Denied";
$_200 = "Welcome Admin";
if ($_SERVER["REQUEST_METHOD"] != "POST")
die("BugsBunnyCTF is here :p...");
#!/usr/bin/python
import sys
import pwn
# MAGIC BATH SALTS GO.
# 0x08048386: call eax;
# 0x08048386: call eax; leave; ret;
#!/usr/bin/python
orig_flag = "10 20 15 44 53 62 14 33 6a 7d f7 c5 ab a7 12 3c 2c 81 00 ff ff"
xorkey_p1 = "76 4c 74 23 28 52 26 07 08 1c 96 fd ca c4 22 23 45 73 76 61 04"
orig_flag_array = [int(x,16) for x in orig_flag.split(" ")]
xorkey_p1_array = [int(x,16) for x in xorkey_p1.split(" ")]
flag = ""
for i in range(0,len(orig_flag_array)):
#!/usr/bin/python
import os
import pwn
import string
import sys
pwn.context.log_level = 'error'
existingflag = "flag{"
command:ls -la
command:ls -la
command:total 16
drwxr-xr-x 3 root root 4096 Jul 26 09:36 .
drwxr-xr-x 3 root root 4096 Jul 26 03:45 ..
drwxr-x--- 2 www-data www-data 4096 Jul 26 09:37 css
-rwxr-xr-x 1 www-data www-data 1664 Jul 26 04:46 index.php
command:total 16
drwxr-xr-x 3 root root 4096 Jul 26 09:36 .