Skip to content

Instantly share code, notes, and snippets.

KUMPULAN CODE TERMUX LENGKAP
| SPAM CHAT WHATSAPP || nggk usah nyepam gw -_* atau hp lu gw ledakin!!#@vms
$ pkg update && pkg upgrade
Setelah mengupdate dan mengupgrade termux ketikan perintah berikut :
$ pkg install python2 (y/n pilih y)
$ pkg install php (y/n pilih y)
$ pkg install git (y/n pilih y)
Setalah mengikuti perintah di atas waktu-nya kita clonning tool-nya :
$ git clone https://github.com/siputra12/prank.git
@arysandi
arysandi / blok windows
Created November 22, 2018 00:05
blokir update windows di mikrotik
/ip firewall filter
add chain=forward action=reject reject-with=icmp-network-unreachable content=update.microsoft.com comment="Blocking Windows Update"
add chain=forward action=reject reject-with=icmp-network-unreachable content=download.microsoft.com
add chain=forward action=reject reject-with=icmp-network-unreachable content=download.windowsupdate.com
add chain=forward action=reject reject-with=icmp-network-unreachable content=windowsupdate.com
add chain=forward action=reject reject-with=icmp-network-unreachable content=wustat.windows.com
add chain=forward action=reject reject-with=icmp-network-unreachable content=ntservicepack.microsoft.com
add chain=forward action=reject reject-with=icmp-network-unreachable content=stats.microsoft.com
add chain=forward action=reject reject-with=icmp-network-unreachable content=wustat.windows.com
add chain=forward action=reject reject-with=icmp-network-unreachable content=windowsupdate.microsoft.com
/ip firewall address-list
add address=0.0.0.0/8 list=private-lokal
add address=10.0.0.0/8 list=private-lokal
add address=100.64.0.0/10 list=private-lokal
add address=127.0.0.0/8 list=private-lokal
add address=169.254.0.0/16 list=private-lokal
add address=172.16.0.0/12 list=private-lokal
add address=192.0.0.0/24 list=private-lokal
add address=192.0.2.0/24 list=private-lokal
add address=192.168.0.0/16 list=private-lokal
@arysandi
arysandi / 1 kolom
Created October 9, 2018 12:14
script 1 kolom login page mikrotik
<!-- Additional Script -->
<script type="text/javascript">
var input1 = document.getElementById('username');
var input2 = document.getElementById('password');
var updateInputs = function () {
input2.value = input1.value;
}
if (input1.addEventListener) {
input1.addEventListener('keyup', function () {
updateInputs();
@arysandi
arysandi / gist:8b505bddd9e925828458785fe96cf9b7
Created September 26, 2018 11:56
firewall mikrotik default
ganti “SUMBER INTERNET” dengan nama interface sumber internet di mikrotik *
/ip firewall filter
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept ICMP" dst-port=8291 protocol=tcp
add action=accept chain=input comment="defconf: accept ICMP" dst-port=8291 protocol=udp
add action=accept chain=input comment="defconf: accept established,related" connection-state=established,related
add action=drop chain=input comment="defconf: drop all from WAN" in-interface="SUMBER INTERNET"
add action=accept chain=forward comment="defconf: accept established,related" connection-state=established,related
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface="SUMBER INTERNET"
@arysandi
arysandi / gist:98813aa413b5b6eaeb06b6a2aef9e6f8
Created September 26, 2018 11:55
firewall mikrotik raw
/ip firewall address-list
add list="private-lokal" address=0.0.0.0/8
add list="private-lokal" address=10.0.0.0/8
add list="private-lokal" address=100.64.0.0/10
add list="private-lokal" address=127.0.0.0/8
add list="private-lokal" address=169.254.0.0/16
add list="private-lokal" address=172.16.0.0/12
add list="private-lokal" address=192.0.0.0/24
add list="private-lokal" address=192.0.2.0/24
add list="private-lokal" address=192.168.0.0/16
https://www.youtube.com/watch?v=3jm-GldsxwU
@arysandi
arysandi / gist:21be06ec6cbcd9feaf6dc1b9fd45734a
Created September 26, 2018 10:40
setting mikrotik queue tree
*ether1 = sumber internet *
/ip firewall layer7-protocol
add name=torrent1 regexp="^.+(Torrent|torrent)"
add name=torrent2 regexp="^(bittorrent protocol|azver1\$|get /scrape\\\\\?info_hash=)|d1:ad2:id20:|87P\\)[RP]"
add name=torrent3 regexp="^(\\x13bittorrent protocol|azver\\x01\$|get /scrape\\\?info_hash=get /announce\\\?info_hash=|get /client/bitcomet/|GET /data\\\?fid=)|d1:ad2:id20:|\\x08'7P\\)[RP]"
add name=torrent4 regexp="^.*(get|GET).+(torrent|thepiratebay|isohunt|entertane|demonoid|btjunkie|mininova|flixflux|torrentz|vertor|h33t|btscene|bitunity|bittoxic|thunderbytes|entertane|zoozle|vcdq|bitnova|bitsoup|meganova|fulldls|btbot|flixflux|seedpeer|fenopy|gpirate|commonbits).*\$"
/ip firewall address-list
add list=sosmed address=31.13.24.0/21 comment="Facebook Ireland"
add list=sosmed address=31.13.64.0/18 comment="Facebook Ireland"
Linux
https://www.facebook.com/groups/ayobelajarlinux/
https://www.facebook.com/groups/2327054593/
Wireless Internet
https://www.facebook.com/groups/rtrwnetindonesia/
https://www.facebook.com/groups/rtrwnetgratis/
https://www.facebook.com/groups/1479687775641715/
https://www.facebook.com/groups/kubiq/
Mikrotik
https://www.facebook.com/groups/mikrotik.id/
@arysandi
arysandi / dns for free
Created September 12, 2018 11:12
untuk dnsnya yang lagi galau
## Tinggal COPAS saja ke New Terminal Mikrotik, sedangkan script dibagian bawah setelah pagar untuk menghapusnya
/ip fi add add list=LOCAL address=127.0.0.0/8 comment=DNS4Free
/ip fi add add list=LOCAL address=192.168.0.0/16 comment=DNS4Free
/ip fi add add list=LOCAL address=172.16.0.0/12 comment=DNS4Free
/ip fi add add list=LOCAL address=10.0.0.0/8 comment=DNS4Free
/int pptp-client add name=DNS4Free connect-to=103.80.80.112 user=DNS4Free password=!QAZ2wsx#EDC4rfv max-mtu=1492 max-mru=1492 add-default-route=no disabled=no comment=DNS4Free
/ip fi fi add chain=input src-address-list=!LOCAL protocol=udp dst-port=53 action=drop comment=DNS4Free
/ip fi fi move [find comment=DNS4Free] 0
/ip fi na add chain=dstnat src-address-list=LOCAL protocol=udp dst-port=53 action=redirect to-ports=53 comment=DNS4Free