Skip to content

Instantly share code, notes, and snippets.

@4lehandro
4lehandro / NSA
Last active August 29, 2015 14:27
//-------------------------------------------//
//INCLUDES //
//-------------------------------------------//
#include <sys/time.h>
#include <gst/gst.h>
#include <glib.h>
#include <sys/param.h>
#include <sys/user.h>
#include <sys/sysctl.h>
#include <unistd.h>
@4lehandro
4lehandro / .bashrc
Last active August 29, 2015 14:27 — forked from tasdikrahman/.bashrc
my .bashrc file
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# ----------------for giving random commands and what they do-------------
#echo "Did you know that:"; whatis $(ls /bin | shuf -n 1)
#cowsay -f $(ls /usr/share/cowsay/cows | shuf -n 1 | cut -d. -f1) $(whatis $(ls /bin) 2>/dev/null | shuf -n 1)
cowsay "Why be a sailor when you can be a Pirate !! --Steve Jobs"
@4lehandro
4lehandro / compile157.sh
Last active August 26, 2015 12:53 — forked from mkuf/compile157.sh
compile Repetier-Firmware without GUI
#!/bin/bash
## compile Repetier-Firmware without GUI
##
## Before you start:
## Set ADIR to your ArduinoIDE-Directory
## Set GPP, GCC, AR, OC. These can either be the binaries from the ArduinoIDE or your Distro
##
## How to use:
## Place this file in the Repetier-Directory (besides Repetier.ino)
## cd to your Repetier-Dir
@4lehandro
4lehandro / f_t_p n_a_s_a
Last active September 20, 2015 16:50
FTP NASA
ftp://ftp.hq.nasa.gov
@4lehandro
4lehandro / stagefright-exploit
Last active September 8, 2022 15:43
Exploit for android
#!/usr/bin/env python
# Joshua J. Drake (@jduck) of ZIMPERIUM zLabs
# Shout outs to our friends at Optiv (formerly Accuvant Labs)
# (C) Joshua J. Drake, ZIMPERIUM Inc, Mobile Threat Protection, 2015
# www.zimperium.com
#
# Exploit for RCE Vulnerability CVE-2015-1538 #1
# Integer Overflow in the libstagefright MP4 'stsc' atom handling
#
# Don't forget, the output of "create_mp4" can be delivered many ways!
@4lehandro
4lehandro / ZeroJudge d058.cpp
Last active September 19, 2015 11:34 — forked from TheoKlein/ZeroJudge d058.cpp
ZeroJudge d058
#include <stdio.h>
int main() {
int n;
scanf ("%d",&n);
//true = 1 , false = 0
printf ("%d\n",(n > 0) - (n < 0));
return 0;
}