Skip to content

Instantly share code, notes, and snippets.

@kripul
kripul / digi.sh
Last active September 15, 2022 07:52
#!/bin/bash
#
# CREATED By NIXPOIN.COM
#
while :
do
echo "Apa yang ingin anda lakukan"
echo " 1) auth init"
echo " 2) auth switch"
#!/bin/sh
echo "First port used for proxy? Example 10000 "
read FIRST_PORT
echo "How many proxy do you want to create? Example 500"
read COUNT
IP4=$(curl -4 -s icanhazip.com)
IP6=$(curl -6 -s ip.nixpoin.com | cut -f1-7 -d':')
@ECHO OFF
cd.>%windir%\GetAdmin
if exist %windir%\GetAdmin (del /f /q "%windir%\GetAdmin") else (
echo CreateObject^("Shell.Application"^).ShellExecute "%~s0", "%*", "", "runas", 1 >> "%temp%\Admin.vbs"
"%temp%\Admin.vbs"
del /f /q "%temp%\Admin.vbs"
exit /b 2)
rem set PORT=30120
set /p PORT= what port do you want to add? :
@kripul
kripul / cara pakai.md
Last active December 20, 2022 06:57
Custom RDP Port.
  • Jalankan script ini di RDP
  • Restart RDP
  • Login ke RDP dengan IP:5050
@kripul
kripul / eco-server-order-on-ovhcloud-api.md
Created November 20, 2024 13:34 — forked from adns44/eco-server-order-on-ovhcloud-api.md
Eco server order process with OVHcloud API step-by-step

OVH - How to use the API to order any server? The answer is here!

I ASK YOU IN FIRST

This process is automateable. I'll write the know-how, how to do it. I kindly ask you! Do NOT ABUSE it! Please keep the oportunity to order limited edition servers for other ones!

How the OVH API works?

First of all, OVH provides API libraries to access the API. And for this too, they have an API console where you can try it. For now, we'll see the API console. We'll place an older. Lets go!

#!/bin/sh
echo "First port used for proxy? Example 10000 "
read FIRST_PORT
echo "How many proxy do you want to create? Example 500"
read COUNT
IP4=$(curl -4 -s icanhazip.com)
IP6=$(curl -6 -s icanhazip.com | cut -f1-3 -d':')
"nid","parent_nid","name","serial","type","latitude","longitude","status"
"1","0","Provinsi Aceh","11","1","4.695135","96.7493993","1"
"2","0","Provinsi Sumatera Utara","12","1","2.1153547","99.5450974","1"
"3","0","Provinsi Sumatera Barat","13","1","-0.7399397","100.8000051","1"
"4","0","Provinsi Riau","14","1","0.2933469","101.7068294","1"
"5","0","Provinsi Jambi","15","1","-1.4851831","102.4380581","1"
"6","0","Provinsi Sumatera Selatan","16","1","-3.3194374","103.914399","1"
"7","0","Provinsi Bengkulu","17","1","-3.5778471","102.3463875","1"
"8","0","Provinsi Lampung","18","1","-4.5585849","105.4068079","1"
"9","0","Provinsi Kepulauan Bangka Belitung","19","1","-2.7410513","106.4405872","1"