This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer | |
PORT_NUMBER = 31337 | |
class myHandler(BaseHTTPRequestHandler): | |
#Handler for the GET requests | |
def do_GET(self): | |
self.send_response(200) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import string | |
import random | |
def generate(length=35, digits_count=5, upper_count=5, special_count=5): | |
lower_count = max(0, length - digits_count - upper_count - special_count) | |
digits = random.sample(string.digits, digits_count) | |
specials = random.sample(string.punctuation, special_count) | |
upper = random.sample(string.ascii_uppercase, upper_count) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System: Host: dznet Kernel: 4.11.3 x86_64 (64 bit gcc: 6.2.0) | |
Desktop: Cinnamon 3.4.1 (Gtk 3.18.9) dm: lightdm,mdm Distro: Linux Mint 18.1 Serena | |
Machine: System: LENOVO (portable) product: 20CLS8C000 v: ThinkPad X250 Chassis: type: 10 | |
Mobo: LENOVO model: 20CLS8C000 v: SDK0J40697 WIN | |
Bios: LENOVO v: N10ET40W (1.19 ) date: 12/08/2015 | |
CPU: Dual core Intel Core i5-5300U (-HT-MCP-) cache: 3072 KB | |
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9179 | |
clock speeds: min/max: 500/2900 MHz 1: 799 MHz 2: 901 MHz 3: 799 MHz 4: 799 MHz | |
Graphics: Card: Intel Broadwell-U Integrated Graphics bus-ID: 00:02.0 chip-ID: 8086:1616 | |
Display Server: X.Org 1.18.4 driver: N/A Resolution: 1366x768@60.11hz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'sinatra' | |
gem 'sinatra-contrib' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run container | |
# | |
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ | |
# -v $(pwd)/.telegram:/root/Downloads/Telegram \ | |
# -e DISPLAY=unix$DISPLAY \ | |
# infoslack/telegram | |
# | |
FROM ubuntu:14.04 | |
MAINTAINER Daniel Romero <infoslack@gmail.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import random | |
chars = "abcdefghijklmnopqrstuvwxyziABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890^?!?$%&/()=?`'+#*'~';:_,.-<>|" | |
password = "" | |
print("Use Char list = %s \n" % chars) | |
length = int(input("[*] Input Password Length: ")) |