Skip to content

Instantly share code, notes, and snippets.

View zxlim's full-sized avatar
💻

Zhao Xiang Lim zxlim

💻
View GitHub Profile
@zxlim
zxlim / zxWebPwnHandler.py
Created January 23, 2021 17:52
A very simple pseudo shell in Python to interact with web shells more effectively.
#!/usr/bin/env python3
##################################################
# Copyright (c) 2020 Zhao Xiang Lim.
# All Rights Reserved.
# Released under the MIT License.
#
# [ developer@zxlim.xyz ]
##################################################
from argparse import ArgumentParser
@zxlim
zxlim / php_mysqli_ps_cs.md
Created March 27, 2019 12:40
Personal "cheatsheet" for MySQLi prepared statements in PHP

PHP-MySQLi Prepared Statement Cheatsheet

Dug up some reference code from my old PHP projects. Hopefully it's useful.


Querying database (SELECT)

// Array to store query results.
$my_results = array();