Fixing bash shellshock Vulnerability fedora 12(EOL)

No Comments »

#rpm -ivh bash-4.0.38-1.fc12.src.rpm
#cd /root/rpmbuild/SOURCES/


#cd /root/rpmbuild/SPECS

#vi bash.spec


%patch039 -p0 -b .039
%patch040 -p0 -b .040
%patch041 -p0 -b .041

#rpmbuild -ba bash.spec
#rpm -Uvh /root/rpmbuild/RPMS/x86_64/bash-4.0.38-1.fc12.x86_64.rpm –force

#foo='() { echo not patched; }’ bash -c foo
bash: foo: command not found # you’re done

#env x='() { :;}; echo vulnerable’ bash -c “echo this is a test” | grep vulnerable > /dev/null 2>&1
#echo $?


How To Make A Propeller Clock


Once upon a time, lifes goes on as usual, boring. Until one day my friend showing me a weird clock on youtube. i said “wow, that was awesome!”, “how it works?”, “i should make one!”. Basically, i have experienced on electronic DIY stuffs. i started to figure out on how to make it, lots of information found. so basicaly, propeller clock based on POV (Persistence of vision)

The clock’s graph formed by cheating human eyes, one array of leds burst on constant interval/delay in one motor rotation, continuously (in this case  divided to 360 degree in one rotation, can be more for higher resolution).

After i’ve found, understand, (and yet still confused on how it works :P). i started making prototypes with existing MCU module (atmega8535), wired to array of 8 leds. it works, and not good!! it’s too heavy, no index reference, the text is very unstable. i need to design new board which is lighter and throw out all unnecessary components. there are two web site that i’m using as references, when building this clock.

i used the codes from there with lots of modification, original code is writen using ICCAVR, i converted it to AVR Studio.

i used his isolated power supply, to power up the propeller clock module.

For remote control, it was stolen from here: 😀


Read the rest of this entry »