Skip to content

Instantly share code, notes, and snippets.

View dwisiswant0's full-sized avatar
💀
Bashturbation

Dwi Siswanto dwisiswant0

💀
Bashturbation
View GitHub Profile
@dwisiswant0
dwisiswant0 / go-os-arch.md
Created February 12, 2018 04:53 — forked from asukakenji/0-go-os-arch.md
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.8.3 darwin/amd64.

A list of valid GOOS values

(Bold = supported by go out of the box, ie. without the help of a C compiler, etc.)

  • android
  • darwin
@dwisiswant0
dwisiswant0 / citpekalongan.php
Created February 25, 2018 13:55
citpekalongan Auto Grab DL Link
<?php
# citpekalongan Auto Grab DL Link
# 2018 (c) made by dw1.co
$xml = simplexml_load_string(file_get_contents("http://www.citpekalongan.com/feeds/posts/default?alt=rss"));
foreach ($xml->channel->item as $key => $value) {
echo $value->category . " (" . $value->pubDate . ")\n";
preg_match_all("/href=\"http:\/\/linkshrink.net\/(.*?)\"/i", $value->description, $linkshrink);
// preg_match_all("/href=\"http:\/\/safelinku.net\/(.*?)\"/i", $value->description, $safelinku);
// echo "<a " . $linkshrink[0][0] . " target=\"_blank\">linkshrink</a> ";
@dwisiswant0
dwisiswant0 / spotiCheckAPI.md
Last active March 29, 2018 14:04
Spotify Account Checker API

Spotify Account Checker API

Update March 29, 2018

This API is deprecated, please check spotiCheckAPI v2 here.

Checking the Spotify account whether the login is valid or not.

  • Use POST http method.
Resource URL
package main
import (
"fmt"
"time"
"unsafe"
)
const _0x0000 = uint8(unsafe.Sizeof(true))
@dwisiswant0
dwisiswant0 / rhymesFinderAPI.md
Last active May 24, 2018 00:29
rhymesFinder API
@dwisiswant0
dwisiswant0 / yt-dl_API.md
Created May 24, 2018 16:08
YouTube Download (yt-dl) API
@dwisiswant0
dwisiswant0 / README.md
Created June 29, 2018 21:52
Android Kill Ads WebView [Bash]

android_kill_ads_webview

  • Notes: Root required
#!/system/bin/sh
pkg=("ads" "android.gms.ads")
while [[ true ]]; do
	for i in "${pkg[@]}"; do
 svc="com.google.${i}"
@dwisiswant0
dwisiswant0 / console-example.php
Created July 30, 2018 06:11 — forked from sallar/console-example.php
PHP Colored CLI Output Script.
<?php
// Output screenshot:
// http://cl.ly/NsqF
// -------------------------------------------------------
include_once 'console.php';
// ::log method usage
// -------------------------------------------------------
Console::log('Im Red!', 'red');
@dwisiswant0
dwisiswant0 / xss_clean.php
Created September 17, 2018 09:26 — forked from mbijon/xss_clean.php
XSS filtering in PHP (cleans various UTF encodings & nested exploits)
<?php
/*
* XSS filter, recursively handles HTML tags & UTF encoding
* Optionally handles base64 encoding
*
* ***DEPRECATION RECOMMENDED*** Not updated or maintained since 2011
* A MAINTAINED & BETTER ALTERNATIVE => kses
* https://github.com/RichardVasquez/kses/
*
* This was built from numerous sources
import requests
import sys
import json
def waybackurls(host, with_subs):
if with_subs:
url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host
else:
url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host