venerdì 6 maggio 2011

yo Al-Qaeda' I herd you like War, so we put an nerd as your leader so you can Cyberwar while you War


http://www.washingtonpost.com/wp-srv/world/specials/terror/yahya.html

there we go, nerds+war = cyberwar
this will be funny to watch

mercoledì 4 maggio 2011


i won't be able to post this week since i have a lot of tests coming on
unlike obama i even have to study :(((

lunedì 2 maggio 2011


why does the largest world population actually believe that Bin Laden is dead without any evidence provided beside the president saying he's dead?

he died over and over in the past years

maybe it's just time travel but i don't know







http://www.google.com/search?q=osama+dead&sa=X&ei=nSa_TZvDOIXOswae_4z8BQ&ved=0CA8QpwUoBg&source=lnt&tbs=cdr:1%2Ccd_min%3A1%2F1%2F2007%2Ccd_max%3A4%2F30%2F2011&tbm=&bav=on.2,or.r_gc.r_pw.&fp=282d9d5433c41066

http://www.dailymail.co.uk/news/article-1212851/Has-Osama-Bin-Laden-dead-seven-years--U-S-Britain-covering-continue-war-terror.html

http://www.lossofprivacy.com/index.php/2010/12/so-is-osama-dead/

http://www.politico.com/arena/archive/osama-bin-laden-killed.html

domenica 1 maggio 2011


PSN back online but really..
it looks like someone just walked in the sony's datacenter and downloaded all the info manually -_-
sony ftw?

giovedì 28 aprile 2011


http://anonnews.org/?p=press&a=item&i=848

if not anon who?
a lot of CCs are in the wild, i even wonder how they'll be able to cash them out

martedì 26 aprile 2011

using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using HtmlAgilityPack;
using System.Drawing;
using System.Text.RegularExpressions;

class Downloader
{
public string GetSource(string url)
{
WebClient c = new WebClient();
byte[] response = c.DownloadData(url);
Console.WriteLine("get: downloading {0}", url);
Console.WriteLine();
System.Threading.Thread.Sleep(1000);
return Encoding.ASCII.GetString(response);
}
public void GetImage(string picUri,string sOutput)
{
Console.WriteLine("wget: downloading {0}", picUri);
Console.WriteLine();
WebRequest requestPic = WebRequest.Create(picUri);
WebResponse responsePic = requestPic.GetResponse();
Image webImage = Image.FromStream(responsePic.GetResponseStream());
webImage.Save(sOutput);
}
}
class HtmlManager
{

public List ExtractAllAHrefTags(string sHTML, string sFilter)
{
HtmlDocument hd = new HtmlDocument();
hd.LoadHtml(sHTML);

List hrefTags = new List();

foreach (HtmlNode link in hd.DocumentNode.SelectNodes("//a[@href]"))
{
HtmlAttribute att = link.Attributes["href"];
if (att.Value.Contains(sFilter))
{
hrefTags.Add(att.Value);
}
}
return hrefTags;
}
public List ExtractAllSrcTags(string sHTML, string sFilter, string sNot)
{
HtmlDocument hd = new HtmlDocument();
hd.LoadHtml(sHTML);

List hrefTags = new List();

foreach (HtmlNode link in hd.DocumentNode.SelectNodes("//img[@src]"))
{
HtmlAttribute att = link.Attributes["src"];
bool unwanted = true;

foreach (string str in sFilter.Split(' '))
{
if (att.Value.Contains(str))
{
unwanted = false;
}
}
if (!unwanted)
{
foreach (string str in sNot.Split(' '))
{
if (att.Value.Contains(str))
{
unwanted = true;
}
}
if (!unwanted)
{
hrefTags.Add(att.Value);
}
}
}
return hrefTags;
}
}
class CSharpHttpClient
{


static void Main(string[] args)
{
/*if (args.Length != 1)
{
Console.WriteLine("usage: geget.exe url");
System.Environment.Exit(-1);
}*/
Downloader dlr = new Downloader();
string address = @"http://g.e-hentai.org/g/359039/15c99e73b9/";/*args[0]*/
string source = dlr.GetSource(address);

List sFullImageList = new List();

Match mtch = Regex.Match(source, "of \\d+ images");
mtch = Regex.Match(mtch.ToString(), "\\d+");

string nr = mtch.ToString();
int pages = int.Parse(nr);
int nrpages = pages / 20;
if (pages % 20 != 0)
{
nrpages++;
}
HtmlManager hm = new HtmlManager();
for (int i = 0; i < nrpages; i++)//for each page
{
source = dlr.GetSource(string.Concat(address,"p=",i));//get source of the page
List sImages = hm.ExtractAllAHrefTags(source, @"http://g.e-hentai.org/s/");//get links inside the page
foreach (string str in sImages) // for each link
{
sFullImageList.Add(str); //add it to sFullImageList
}
}


foreach (string link in sFullImageList)//for each link
{
source = dlr.GetSource(link);//get the image page source
List sImagelinks = hm.ExtractAllSrcTags(source,"/h/ image.php", "q.lol S.bbq p.afk O.ffs");//get image files list
foreach (string sImageLink in sImagelinks)//for each image
{
dlr.GetImage(sImageLink, string.Concat("c:\\Dls\\", DateTime.Now.Ticks.ToString(), ".jpg"));
}
}
Console.WriteLine("done! :)");
}


}

lunedì 25 aprile 2011

this blog will be about.. cakes!
no just about me and my useless programs
i'll post my scripts/programs as soon as i finish them (1 every 2-3 months lol)