Skip to content

Instantly share code, notes, and snippets.

Angelo angeloped

  • Philippines
Block or report user

Report or block angeloped

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
angeloped /
Created Sep 20, 2019 — forked from leonjza/
Python Netcat
import socket
class Netcat:
""" Python 'netcat like' module """
def __init__(self, ip, port):
self.buff = ""
self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
angeloped /
Created Sep 19, 2019
Remove control characters (e.g., \n, \r, \x, etc.) with Python, compatible in both Python version 2 and 3.
# -*- encoding: utf-8 -*-
import unicodedata
def remove_CtrlChars(string):
try:# Unicode conversion for Python 2
string = string.decode("utf-8")
except:# Unicode conversion for Python 3
string = string.encode().decode("utf-8","strict")
angeloped /
Created Sep 19, 2019
Fibonacci seqence written in Python.
written by: Bryan Angelo
seq = []
# infinite loop
while 1:
if len(seq) == 0:
angeloped / pi.digits
Last active Sep 15, 2019
518,650 digits of pi.
View pi.digits
angeloped /
Last active Sep 13, 2019 — forked from markhamilton1/
pi is a Python script that computes each digit of the value of pi. As long as this script runs it continues to generate digits. As a matter of full disclosure, I did not write this. I am posting it here as a means of preserving the algorithm and making it available to others.
import sys
Added some modificationss
1. saving line for every 1024 digits.
2. notify if it scored million.
def calcPi():
q, r, t, k, n, l = 1, 0, 1, 1, 3, 3
angeloped /
Last active Sep 12, 2019
A truly minimal HTTP-Tor proxy.
# a truly minimal HTTP-Tor proxy
import sys
major_version = sys.version_info.major
if major_version == 2:
import SocketServer
import SimpleHTTPServer
elif major_version == 3:
import http.server as SimpleHTTPServer
from html.parser import HTMLParser
import urllib.request
import urllib.parse
import http.cookiejar
import queue
import threading
import sys
import os
angeloped /
Created Jul 27, 2019 — forked from nextrevision/
Send a flood of UDP packets to a specific UDP port
#!/usr/bin/env python
# Requires:
# - scapy
# - tcpreplay
import sys
from scapy.all import *
if len(sys.argv) != 6:
angeloped / remove_banner.js
Created Jul 24, 2019
Remove powered by banner javascript.
View remove_banner.js
angeloped / download_HTML5Player_content.js
Last active Aug 16, 2019
HTML5Player Video Downloader using JavaScript. Proof of concept: xDxNxXxD
View download_HTML5Player_content.js
/*HTML5Player Video Downloader using JavaScript. Proof of concept: x_*n_*x*_x_ LOL! */
//or option 2:
obj.innerHTML="<h1>" + html5player.video_title + "</h1>";
You can’t perform that action at this time.