This file contains 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 urllib2 | |
search=raw_input('Enter The Name of The Song->') | |
search=search.replace(' ','_') | |
print "http://junglevibe.net/tracks/{}".format(search) | |
request = urllib2.Request("http://junglevibe.net/tracks/{}.html".format(search), headers={"User-Agent" : "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"}) | |
contents = urllib2.urlopen(request) | |
#print contents.read() | |
print dir(contents.info()) | |
cookie=contents.info()['set-cookie'] | |
index=cookie.find(';') |
This file contains 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
<!DOCTYPE html> | |
<head> | |
<script> | |
var timeCount=0 | |
var dumb; | |
function startTimer() | |
{ | |
digit=document.getElementById("digit"); | |
timeCount=timeCount+1 |
This file contains 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
<!DOCTYPE html> | |
<head> | |
<script> | |
setInterval(blinktext, 100); | |
var txt = ""; | |
var count = 0; | |
function blinktext() { | |
var cntrl = document.getElementById("input"); | |
if (count == 0) | |
txt = cntrl.innerHTML; |
This file contains 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 contextlib | |
import ctypes | |
import struct | |
from ctypes import c_void_p, c_uint16, c_uint32, c_int32, c_char_p, POINTER | |
from keyring.py27compat import string_types, add_metaclass | |
sec_keychain_ref = sec_keychain_item_ref = c_void_p | |
OS_status = c_int32 |
This file contains 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 | |
class PHPObjectInjection{ | |
public $inject; | |
function __wakeup(){ | |
if(isset($this->inject)){ | |
eval($this->inject); | |
} | |
} | |
This file contains 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
#mvn run on a particular port | |
mvn jetty:run -D jetty.port=9229 | |
#mvn debug | |
export MAVEN_OPTS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=0.0.0.0:9090,server=y,suspend=n" | |
#visual studio debug config | |
{ | |
"version": "0.2.0", |
This file contains 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 re | |
import os | |
autoRunFileData=open('autorun.txt',encoding='utf-16').readlines() | |
count=1 | |
for line in autoRunFileData: | |
matches=re.findall(r'[a-zA-Z]:\\[\\\S|*\S]?.*$',line) | |
try: | |
path=matches[0].split('"\t')[0] | |
print(path) | |
os.system('accesschk64.exe -wvu "'+path+'"') |
This file contains 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
from ghidra.program.util import DefinedDataIterator | |
from ghidra.app.util import XReferenceUtil | |
def getAddress(offset): | |
return currentProgram.getAddressFactory().getDefaultAddressSpace().getAddress(offset) | |
string_and_funcdata=[] | |
functionManager = currentProgram.getFunctionManager() |
This file contains 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
from os import listdir | |
from os.path import isfile, join | |
import re | |
from os import walk | |
from bs4 import BeautifulSoup | |
def fileGetter(): | |
fileNames = [] | |
mypath='<folder_name>' |
This file contains 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
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>HTML 5 Based Command Console with multiple autocomplete </title> | |
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> | |
<style> | |
flex:1; |
OlderNewer