Skip to content

Instantly share code, notes, and snippets.

Avatar
🥰
Kerja

Akbar Yahya akbaryahya

🥰
Kerja
View GitHub Profile
View gist:518a1a7dc6a1b3938e414d638b990be1
public static int GetExpDiff(int level) {
if (level == 1)
{
return 0;
}
if (level == 2)
{
return 1000;
}
if (level == 3)
@akbaryahya
akbaryahya / port.sh
Created Feb 15, 2020
Port Forwarding OpenVPN Dengan CentOS
View port.sh
#!/bin/bash
#Restart VPN?
systemctl restart openvpn@server.service
# Allow forwarding
sysctl net.ipv4.ip_forward=1
# Restart iptables
service iptables restart
View radio.sh
#!/bin/bash
while [ 1 ]
do
rtl_fm -M nfm -f 165.808M -g 20 -s 50k -A std -r 44.1k | ffmpeg -nostdin -hide_banner -loglevel error -f s16le -ac 1 -i pipe:0 -acodec libfdk_aac -ab 24k -content_type audio/aac -f adts icecast://merapi:backup@51.79.137.110:8010/merapi_backup1
done
@akbaryahya
akbaryahya / AutoLogin
Last active Jun 5, 2021
Script Auto Login Wifi.id dengan Mikrotik
View AutoLogin
:local currentQueue 0;
:local nolock true;
:local gurl "https://welcome2.wifi.id";
:local guxx "http://www.msftconnecttest.com/redirect";
:local username "";
:local password "";
:local int "WIFI";
:local gwp "WAG-DX-PTR";
:local mdlan "MSTMA000xx-N/TLK-CI-xx33x:xxx";
:local type "WzMS";
@akbaryahya
akbaryahya / AutoLogin.ino
Last active Sep 12, 2021
Script Auto Login Wifi.id dengan ESP8266
View AutoLogin.ino
#include <ESP8266WiFi.h>
#include <ESP8266Ping.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClientSecureBearSSL.h>
/*
* Script Auto Login Wifi.id dengan menggunakan ESP8266
* Script ini di buat oleh Akbar Yahya, pakai boleh di jual jangan!
*/
View dump.sh
echo -e "$123\n$123\n" | sudo passwd
apt update && apt upgrade && apt-get install git make gcc libpcap-dev && apt autoremove
git clone https://github.com/robertdavidgraham/masscan && cd masscan && make && make install && cd ..
git clone https://github.com/d34db33f-1007/asleep_scanner && cd asleep_scanner && pip3 install -r requirements.txt & cd ..
git clone https://github.com/songlinhou/coolab && cd coolab && pip install . && cd ..