Skip to content

Instantly share code, notes, and snippets.

@staaldraad
staaldraad / huaweiDecrypt.py
Created March 11, 2015 13:19
Decrypt Huawei router/firewall passwords. Huawei stores passwords using DES encryption when the crypted option is enabled.
#!/usr/bin/python
"""
Simple tool to extract local users and passwords from most Huawei routers/firewalls config files.
Will extract plain-text passwords and crypted credentials. Huawei config files use DES encryption with
a known key. Using this information, the script will decrypt credentials found in the config file.
Author: Etienne Stalmans (etienne@sensepost.com)
Version: 1.0 (12/01/2014)
"""
from Crypto.Cipher import DES
@mjmeyer
mjmeyer / http-cat-error-pages.conf
Created February 17, 2016 22:58
Http.cat erorr pages for nginx
# ---------- Status Cats Error Pages!!! via: https://http.cat/ ---------
#
# requires that a dns resolver be set for nginx as in: resolver 127.0.0.1;
# typically uses dnsmasq for 127.0.0.1 resolver
#
# Usage:
# place this file somewhere accessible to nginx. /etc/nginx/snippets is a decent choice.
# then inside the server block(s) you want cat themed error status responses do:
# include snippets/http-cat-error-pages.conf
#
@ndunks
ndunks / ZTE-F609.md
Last active April 30, 2024 08:58
Manual help untuk Modem Indihome TELNET ZTE F609

Telnet Manual Modem Indihome

Saya sering lupa, jadi tulis aja di gist.

Login Root via Telnet

telnet 192.168.1.1
login: root

pass : Zte521

@cingobean
cingobean / PackageTracking.php
Created March 12, 2020 03:45
Package Tracking (J&T | SiCepat | TIKI | AnterAja | WAHANA | Ninja | Lion | Lazada | JNE)
<?php
/*
.---------------------------------------------------------------------------.
| Script: Package Tracking |
| Version: 2.0.4 |
| Release: December 23, 2019 (17:46 WIB) |
| Update: January 05, 2019 (11:41 WIB) |
| |
| Pasal 57 ayat (1) UU 28 Tahun 2014 |
| Copyright © 2019, Afdhalul Ichsan Yourdan. All Rights Reserved. |