Hello Worlddsf
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 requests | |
| import sys | |
| import json | |
| from bs4 import BeautifulSoup | |
| # Create a session | |
| s = requests.Session() | |
| # Establish a session | |
| sys.stderr.write("Getting authenticity_token...\n") |
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
| var results = {}; | |
| var stations = prompt("Stations:", "").split(","); | |
| function requestThumbs(i, index) { | |
| var id = stations[i]; | |
| if (!id) { console.log(results); return; } | |
| console.log(id, index); | |
| $.get( | |
| "http://www.pandora.com/content/station_track_thumbs?stationId=" + id + "&page=true&posFeedbackStartIndex=" + index + "&posSortAsc=false&posSortBy=date&cachebuster%3A=" + new Date().getTime(), | |
| function(data) { | |
| var page = $("<div>" + data + "</div>"); |
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
| /services/json/?method=auth.partnerLogin |
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
| "+alert(1)+" |
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
| // Create array of possible quotes | |
| var quotes = [ | |
| "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies. — C.A.R. Hoare, The 1980 ACM Turing Award Lecture" | |
| ]; | |
| // Get a random quote index | |
| var i = Math.floor(Math.random()*quotes.length); | |
| // Print a random quote | |
| console.log(quotes[i]); |
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
| // Load deps | |
| var request = require("request"); | |
| var jsdom = require("jsdom"); | |
| // Request the country change page | |
| request({ | |
| url: "https://itunes.apple.com/WebObjects/MZStore.woa/wa/countrySelectorPage", | |
| headers: { | |
| "User-Agent": "iTunes/11.0.0 node-appstore" | |
| } |
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
| mask_in = open('masked_key.png','rb') | |
| key = bytearray(mask_in.read(983040-64)) | |
| mask= bytearray(mask_in.read(64)) | |
| for x in range(983040-64): | |
| key[x] ^= mask[x%64] | |
| key_out = open('unmasked_key.png','wb') | |
| key_out.write(key) | |
| key_out.close() |
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
| <?php | |
| $im = imagecreatefrompng("data.png"); | |
| $binary = ""; | |
| for($i=0; $i<imagesx($im); $i++){ | |
| $rgb = imagecolorat($im, $i, 0); | |
| $r = ($rgb >> 16) & 0xFF; | |
| $g = ($rgb >> 8) & 0xFF; | |
| $b = $rgb & 0xFF; |
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
| . | |
| ├── bureaubot | |
| │ ├── Desktop | |
| │ ├── Documents | |
| │ │ └── do_not_show_to_irs.txt | |
| │ ├── Music | |
| │ │ └── office_space.theme.mp3 | |
| │ ├── Pictures | |
| │ └── Public | |
| │ └── taxes.txt |