Agadir (2)
   Computers (14)
   Gadgets (4)
   General (44)
   Howtos (7)
   Japanese (6)
   Linux (15)
   Movies (5)
   Old Blog (90)
   Programming (7)
   Software (7)
   Web & Design (12)

 Subscribe to Posts
 Subscribe to Comments

Local root exploit in Linux kernels 2.6.17 to 2.6.24

164 views
Linux

The exploit allow local users to gain root access using a “proof of concept” exploit. The exploit worked on my machine (Kernel 2.6.22-gentoo-r2).
The bug report:

And here’s a working patch:

--- a/fs/splice.c
+++ b/fs/splice.c
@@ -1234,7 +1234,7 @@ static int get_iovec_page_array(const struct iovec __user *iov,
                if (unlikely(!len))
                        break;
                error = -EFAULT;
-                if (unlikely(!base))
+               if (!access_ok(VERIFY_READ, base, len))
                        break;
 
                /*
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
No Comments »

Weekly Links: 2008.05

374 views
General

Links
Sprout: The Online WYSIWYG Editor for Flash
Microsoft wants to purchase Yahoo


Images
I hope those pillars are strong
PICTURES: Australia’s Monster Motorbike
Firefox crash
It’s cold
Making the city work together LOL


Videos
Gigantic Mech Animals are a Seriously Stylish Way to Travel
Personal helicopter
Frozen Grand Central


Geeky (click at your own risk!)
Richard Stallman does not use a web browser. At all.
Richard Stallman is the new Chuck Norris
GRUB/Chainloaded CD-ROM

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
1 Comment »

Manga download shell-script

168 views
Japanese, Linux

Tired of browsing you favorite manga download site to get your daily doze?

Here’s a shell-script to help you automatize the process:

1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
if (( $# < 1 )); then
  echo "usage: ${0} NUM [NUM]..."
  exit 1
fi
 
manga="${PWD##*/}"
 
for ep in "$@"; do
  URL="http://stoptazmo.com/downloads/get_file.php?file_category=${manga}&amp;mirror=1&amp;file_name=${manga}_${ep}.zip"
  wget -c -U Links "${URL}"
done

To use it, create a directory named with the exact name from the web site:

$ mkdir slamdunk
$ cd slamdunk
$ getmanga.sh 150 151
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
No Comments »

Weekly Links: 2008.04

240 views
General

Links
As a Firefox user I feel somewhat offended by panasonic’s favicon
(not anymore ^_^)
Are we at war with Iran?
Last.fm frees the music
Click if your computer screen is dirty.

Images
Green roof art school in Singapore
aXXo’s Pirated Movies Used to Promote the iMac
Suitcase PC - The Anit-MacBook Air
Pen-Top Utensils
Do’s and don’ts with babies
A380 cockpit

Videos
Nessie Attacks Tokyo Harbor
Hilarious Skittles Commercial
World Record Longest Slam Dunk

Geeky (click at your own risk!)
KDE goes cross-platform with Windows, Mac OS X support
GTK Hello World in Six Different Languages
Elisa 0.3.3 turns Linux into a movie theater
Linux 2.6.24 released

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
No Comments »

Weekly Links: 2008.03

165 views
General

Links
The Arab emirate of Dubai will build a replica of Lyons
[palnet.debian.org]
Visualizing Regular Expressions [reddit.com]
Sun acquires MySQL [reddit.com]
Turn Your $60 Router into a User-Friendly Super-Router with Tomato [digg.com]
everyone’s first vi session [reddit.com]

Images
No \o/ [reddit.com]
Compiler Complaint [xkcd.com]
Deadlock, traffic version [reddit.com]
The Ring Pistol [reddit.com]

Videos
Nuclear explosion in hijacked czech tv breakfast show [reddit.com]
rabbit envelope opener [youtube.com]

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
1 Comment »

XKCD Dangers: How XKCD messed up the web

238 views
General

Right after the publication of this XKCD comic, a lot of bloggers, including us, started posting about the deaths with less or no google results mentioned in the comic.

So how are things a week after that? the web accuracy is messed up.

How xkcd messed up the Web (^_^)

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
2 Comments »

Google Currency Converter

285 views
General

Google has a built-in currency converter that let’s you, for example, convert from Euros to Moroccan Dirhams:

Euro to MDH

Or from Moroccan Dirhams to US Dollars:

MDH to USD

It works even if you don’t know a country’s currency:

DHM to Yen

[Credits: Lifehacker]

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
No Comments »

Weekly Links: 2008.02

417 views
General

Links:

Images:

Videos:

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
No Comments »

Died in a snake charming accident

1,017 views
General

If you ended up here after reading this xkcd comic, please leave us a comment (^_^).

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4 out of 5)
17 Comments »

My Other Laptop

173 views
Computers

My Other Laptop

The idea comes from this xkcd comic.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
7 Comments »
Page 2 of 4«1234»
WP Theme GlossyBlue Modified by Fahdos