Skip to content

Instantly share code, notes, and snippets.

View itsecurityco's full-sized avatar

Juan Escobar itsecurityco

View GitHub Profile
@itsecurityco
itsecurityco / HelloWord.asm
Last active January 9, 2018 17:45
Hello world in asm
; Author: Juan Escobar
; /usr/include/i386-linux-gnu/asm/unistd_32.h
; nasm -f elf -o HelloWorld.o HelloWorld.asm
; ld -o HelloWorld HelloWorld.asm
global _start
section .text
_start:
@itsecurityco
itsecurityco / wp-plugins.py
Last active December 21, 2017 05:12
Scrape wordpress plugins
#!/bin/python
# @itseco
# https://github.com/itseco/
# Extract download url's for popular Wordpress plugins
# Usage python script.py pages
# python script.py 99
from lxml import html
import sys
import requests
PowerShell -Exec Bypass
Import-Module .\BloodHound.ps1
Get-BloodHoundData
@itsecurityco
itsecurityco / server-side-rendering.pdf
Created August 5, 2017 19:41
Check server side rendering
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/python
# @itseco
# https://es.wikipedia.org/wiki/RSA
import sys
p1 = 53
p2 = 59
n = p1 * p2
fn = (p1-1) * (p2-1)
@itsecurityco
itsecurityco / diffiehellman.py
Created July 4, 2017 04:52
Diffie-Hellman key exchange
#!/bin/python
# @itseco
# https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange
import sys
alice_private_key = int(sys.argv[1]) # should be large enough to be secure
bob_private_key = int(sys.argv[2]) # should be large enough to be secure
modulus_prime = 17 # should be large enough to be secure (2048 bits minimum)
base_generator = 3
@itsecurityco
itsecurityco / steghidebf.sh
Created January 16, 2017 02:54
Script to brute force a file treated with Steghide software
#!/bin/bash
# Usage: steghidebf.sh stegofile wordlist
stegofile=$1;
dict=$2;
printf "Steghide Bruteforce (c) 2017 by Juan Escobar\n";
printf "stegofile: %s\n" "$stegofile";
printf "wordlist: %s\n\n" "$dict";
@itsecurityco
itsecurityco / tomcat_bruteforce.py
Last active March 27, 2023 07:51
Tomcat manager console bruteforce
"""
Tomcat bruteforce
Author: @itsecurityco
"""
import os
import sys
import getopt
import base64
import requests
@itsecurityco
itsecurityco / telnet_bruteforce.py
Created June 9, 2016 17:46
Telnet bruteforce
"""
Telnet bruteforce
Author: Juan Escobar
Twitter: @itsecurityco
"""
import sys
import os
import telnetlib
#!/usr/bin/env python
# Author: Juan (@itsecurityco)
# Usage: generator.py word
# Output: word, word1, word1+, word+1, w0rd, w0rd1, w0rd1+, w0rd+1 ...
# Example of words: name of company, country, etc.
import sys
class generator: