Skip to content

Instantly share code, notes, and snippets.

View cyberinferno's full-sized avatar
🎯
Focusing

Karthik Panjaje cyberinferno

🎯
Focusing
View GitHub Profile
@cyberinferno
cyberinferno / array-diff.php
Created April 26, 2012 22:32
Finding array difference and replacing unmatching elements with some user defined character from bigger array
<?php
$a1 = array(1,2,3,4,5,6,7);
$a2 = array(3,5);
test_array($a1,$a2);
function test_array($a1,$a2)
{
for($i=0;$i<count($a1);$i++)
{
$got = 0;
for($j=0;$j<count($a2);$j++)
@cyberinferno
cyberinferno / DOS.html
Created April 26, 2012 22:49
Anonymous HTML DOS tool (Save it as DOS.hta and run it)
<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">
window.resizeTo(650,500);
</script>
<hta:application id="oMyApp"
windowstate="normal">
<title>Anonymous-DoS</title>
</head>
function bubblesort(arr) {
for(i = 0; i < arr.length; i++) {
for(j = 0; j < arr.length; j++) {
if(j + 1 != arr.length) {
if(arr[j] > arr[j + 1]) {
var temp = arr[j];
arr[j] = arr[j + 1];
arr[j + 1] = temp;
}
}
<?php
ini_set('max_execution_time', 3000);
for($val=200;$val<=200;$val=$val+1)
{
file_put_contents($val.'.jpg',
file_get_contents('http://somesite.com/images/'.$val.'.jpg'));
sleep(1);
}
?>
@cyberinferno
cyberinferno / search.html
Created September 18, 2013 06:06
Text based search using JavaScript
<!DOCTYEP html>
<html>
<head>
<title>Simple text search using JavaScript</title>
<style>
textarea {
width: 80%;
height: 150px;
}
#!/usr/bin/perl
use Mysql;
use strict;
use vars qw($school_name);
use vars qw($pass);
require "./cgi-lib.pl";
vBulletin 5.0.0 all Beta releases SQL Injection Exploit 0day
#Category: web application
#Type: SQL Injection
#Requirements: Firefox/Live HTTP Headers/
#Dork: Powered by vBulletin™ Version 5.0.0 Beta (or) Use ur Brain you'll get more o_O
Step 1
Create an Account on vBulletin forum Verify the account and Activate it
(function () {
function creator(e, t, n) {
var r = document.createElement(n);
var i = document.createTextNode(t);
r.appendChild(i);
e.appendChild(r)
}
function displayData(e) {
var t = document.createElement("table");
@cyberinferno
cyberinferno / facebook_kick.js
Created January 27, 2014 17:55
Currently working Facebook group kick all JavaScript code. Open the group's members page, press F12 and paste this code to run!
deleteAll = [];
deleteAll.elms = [];
deleteAll.canClick = function (el) {
return (typeof el != 'undefined') && (typeof el.click != 'undefined');
}
deleteAll.load = function () {
deleteAll.elms = document.getElementsByClassName("uiPopoverButton _p uiButton uiButtonSuppressed uiButtonNoText");
if (i < deleteAll.elms.length - 5 && !more[0].hasChildNodes()) {
setTimeout(deleteAll.getMore, 1000);
} else {