Skip to content

Instantly share code, notes, and snippets.

alberto__segura segura2010

Block or report user

Report or block segura2010

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
segura2010 / frida_samsung_manager
Created Sep 12, 2016
Frida script to force compatibility of Samsung Manager app in Android
View frida_samsung_manager
Java.perform(function () {
// Function to hook is defined here
var HostManagerUtils = Java.use('');
HostManagerUtils.isSupportedInHostDevice.implementation = function (p1) {
var result = this.isSupportedInHostDevice(p1);
console.log("isSupportedInHostDevice return: " + result);
segura2010 /
Last active Aug 28, 2017
Solution to pwn200 task of hack1t 2017 CTF :) (I wanted to practice ROP, so I did it opening and reading the flag file to finally write it to stdout and exit)
import socket
from struct import pack
def p(x):
return pack('<L', x)
s = socket.socket(
socket.AF_INET, socket.SOCK_STREAM)
s.connect(("", 3333))
Solution for ROP Emporium pivot's challenge (
It pops a remote shell.
Run the binary with: nc -lvc ./pivot -p 4444
Then, run this exploit :)
segura2010 /
Last active Nov 27, 2017
My Solution for the temple challenge of the TUCTF 2017 (
# -*- coding: utf-8 -*-
TUCTF 2017 -
temple (500 points) - PWN
(Small)Explanation at the end of the file.
segura2010 /
Last active Oct 8, 2018
Solution for the Pokedex challenge NN8ed CTF
# coding=utf-8
# Writeup:
from pwn import *
env = {"LD_PRELOAD": os.path.join(os.getcwd(), "./")}
s = process("./pokedex_nn2k18", env=env)
#s = remote('', 1341)
from pwn import *
IP = 'localhost'
PORT = 54321
s = None
def send_msg(msg, size):
s = remote(IP, PORT)
COOKIE = "Eko2019\x00"
s.send(COOKIE + pack(size, 64, 'little', True))
import threading
from pwn import *
from socket import *
import struct
from telnetlib import Telnet
class ChatClient:
def __init__(self, server):
You can’t perform that action at this time.