OpenVPN SSL Pasword recovery

Written by Jason Kendall Friday, 20 November 2009 22:05

So I have a remote SSL VPN system that I user called OpenVPN (AKA Adito) and I had lost my password so I couldn't log in.

I found the following page that describes howto access the DB at a low level, however I couldn't get the encpassword function to load.

I finally got a password to hash however I wanted to document what the hash is just in case someone has the same problem.

To set the password to "password" (sans quotes) use the following:


update users set password='X03vv707Wu+/vWXvv70d77+9J96477+9z5k=' where username='username';
commit;

I hope this will help out some people ;)
 

Wii Update - Oct 28

Written by Jason Kendall Thursday, 29 October 2009 00:03

OK - so a quick update....

IT WORKS - Kinda.

Using PPC compiled mythtv bins loaded and I could navigate (better then last build) however there is some issues with ParseXML - on talking to the MythTV devs there turns out to be multiple PPC instruction sets - so I need to re-compile all the MythTV bin's to this specific PPC code (Thanks @Sphery from #MythTv-users on freenode)

Once I have this working, I'll start cleaning up the packages and build a few test images - oh, and I hope to have my Cam fixed sooner or later so I can take vid of it booting.. ALSO - big news is that there is now ways to boot with Wifi support, so that has helped a littlebit since I relocated my wii away from a network jack.

Wish me luck - and comment!
 

The Perpetual Facepalm

Written by Jason Kendall Thursday, 22 October 2009 10:13

I've had a thought - Every programing book in the world has a "hello world" section to get you started. However, any real programmer knows that you really need a "Perpetual Facepalm" routine to show your disgust with the end user.

I need your help - Send me a tweet @coolacid and tag it with #pfp (if the routine is less then 120 chars) - There are a few rules.

  1. Should be an infinite loop
  2. Should have a pause or no-op to allow CPU cycles to continue
Bonus points if you can show it in an actual program
Even more bonus points if you publish it in a book

The more obscure way, or language the better.


 

Colorado Balloon Story

Written by Jason Kendall Thursday, 15 October 2009 16:03

Ok - Quick Q.

From Mythbusters 1:

"The planned task would be to raise Mattie, 44 lbs, using balloons. The "B-Team" consisting of the build team (Scottie/Kari/Tory) handled the task."

"Experiment 1: How much weight do 10 party balloons raise? A: 100 grams: 46 balloons for 1lb. This means that they would need ~2000 balloons to raise mattie."

Average weight of a 6 year old is 40-50 pounds.

Looking at the size of the balloon relitive to a person on the ground - there doesn't seem to be enough volume to even LIFT a kid off the ground.

Thoughts?

Update 1 - Average Volume for a Balloon is 1.84 Liters2 - That would mean approx 3600 Liters of helium.
Update 2 - Look at the image here3 - and the virtual volume needed to lift that person - there is NO way that weather balloon is big enough to sustain flight with a boy in it.
Update 3 - CNN is reporting that they *MAY* have been enough Helium to carry 100 pounds - without dimentions it's hard to say. But also looking at the way the balloon was floating (from what I could see) didn't look like anyone was in there.

1 http://kwc.org/mythbusters/2004/11/mythbusters_ping_pong_balls_an.html
2 http://www.austinschools.org/matrix/Documents/Science/Resources/7th/Lung_Capacity_Phase1.doc
3 http://www.wired.com/geekdad/2008/08/cluster-balloon/
 

SH404SEF and J1.5 SEF

Sunday, 26 July 2009 01:02

OK - I tormented my self googleing to find out why SH404SEF was not correcting my J15 sef urls. Couldn't find a darn thing about it. So, I turned to the code. Sure enough, it does do J! Sef, but only 1.0 - NOT 1.5 sef.

Here, I'm going to make some notes on how I view SH404SEF could fix 1.5 URLs.

  • administrator/components/com_sh404sef/sh404sef.class.php - Line 3562
    • We know J15 Sef builds URLs like this: (blah)/(id)-(alias)  - Therefor, if we search the content DB for those items, and they exist, return "content15" (content15 to distiguish it from 1.0)
    • Ignore the blah -this is part of the menu system
  • components/com_sh404sef/sh404sef.inc.php - Line 206
    • Need to add content15 to this, since it's now a valid J Sef.
  • Same file - After shDoSecurityChecks call
    • Need to actually figure out what it would be redirected too and do the redirect - maybe to a com_content url so it allows for a new auto-redirect
Need to also watch out for sef_ext.php - seems to be called in the sh404sef.in.php file...


 

Page 4 of 16

«StartPrev12345678910NextEnd»

Who's Online

We have 6 guests online

Tags

This will be shown to users with no Flash or Javascript.

Geek Score

My computer geek score is greater than 97% of all people in the world! How do you compare? Click here to find out!

My Geek Code

My 2007 Geek Code (Degeeked)

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CM/CC/IT d+(-) s+:- a- C+++(++)$ ULC++++(+++)$ P+(---)>--- L++++$ !E--- W+++ N+ !o K--? w-- O- M-- V-- PS PE Y+ PGP+ t 5- X+ R- tv+ b DI+++ D G e h---- r+++ y++++ *(reset)>reset
------END GEEK CODE BLOCK------