Skip to content

Instantly share code, notes, and snippets.

View lerasah's full-sized avatar
🏎️

Sachethana Pathirage lerasah

🏎️
View GitHub Profile
Nicehash BTC Wallet (not a BTC address)
33y1TET9jUBVsJYyRwerJBEu1Zj9kydgNX
DOT
14XuXWJGe37tPqgndxgfPCtkyuZau1AiMN24YPCyiv19NpN2
ETH
0xdc3EE823b3955387beeef7De328ddF07b60E98df
RVN
@lerasah
lerasah / pen
Last active July 26, 2020 05:46
<pre>system('cat /etc/passwd')</pre>
@lerasah
lerasah / Example.php
Last active April 3, 2018 19:11
Using Stripe PHP API to create functions with meaningful outputs and using them in controller
<?
require(APPPATH.'/libraries/REST_Controller.php');
# Example controller
class Example extends REST_Controller{
function __construct() {
parent::__construct();
$this->load->model('Security_model');
$this->load->model('Accounts_model');
$this->load->helper('string');
$this->load->helper('ci_stripe_helper');