Re: lost password caused by drunk admin

2007-04-17 Thread Ghirai
Hello Lewis,

Tuesday, April 17, 2007, 4:59:40 AM, you wrote:

 Hello FreeBSD List,

 Ok I made a huge mistake (insert laugh here because I know you will).
 I was working late at home and had more then a few drinks... A lot  
 more. I was working with a PAP2-NA (Analog to VoIP adapter (ATA)) and
 I changed the password. The password that was programed into the unit
 from my service provider was a randomly generated password and I was  
 messing with a lot of the settings and needed to keep logging in. So  
 I changed it to make my life easier.

 So any way I changed the password and now it appears I didn't change  
 the password to what I had thought I had. The password was a short 4  
 digit number. Like I said I just wanted to make my life easier while  
 I was messing around with it. Now I am locked out of the unit and  
 TOTALY SOL. My phones don't work at the house because the think has  
 been set incorrectly.

 I don't know how to crack passwords or even where to start. Is there  
 some kind of script or application I can run on my FreeBSD system to  
 try every combination of numbers from 0 - .

 It is possible I may have fat fingered the number so it could be 6 or
 7 digits instead of the 4 I intended. I don't know. I tried every  
 variation I can think of and even got drunk again hoping to recreate  
 the stupid mistake.

 I have totally messed that one up. I would have had to type it twice  
 which just goes to show you should not work on your junk while drunk.

 Can anyone help me out? The unit has no reset buttons to reset it to  
 defaults there is nothing online that I can find to bypass the unit.  
 I did a port scan and it appears to only be listening on port 80. Any
 thoughts out there? Please.

 Thanks and I hope I made someone laugh with my mistake because I know
 all my friends are.

 Thanks.

How/over what protocol do you get to wherever it asks for the password?

-- 
Best regards,
Ghirai.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lost password caused by drunk admin

2007-04-17 Thread Jerry McAllister
On Mon, Apr 16, 2007 at 09:59:40PM -0400, Lewis Joshua wrote:

 Hello FreeBSD List,
 
 Ok I made a huge mistake (insert laugh here because I know you will).  
 I was working late at home and had more then a few drinks... A lot  
 more. I was working with a PAP2-NA (Analog to VoIP adapter (ATA)) and  
 I changed the password. The password that was programed into the unit  
 from my service provider was a randomly generated password and I was  
 messing with a lot of the settings and needed to keep logging in. So  
 I changed it to make my life easier.
 
 So any way I changed the password and now it appears I didn't change  
 the password to what I had thought I had. The password was a short 4  
 digit number. Like I said I just wanted to make my life easier while  
 I was messing around with it. Now I am locked out of the unit and  
 TOTALY SOL. My phones don't work at the house because the think has  
 been set incorrectly.
 
 I don't know how to crack passwords or even where to start. Is there  
 some kind of script or application I can run on my FreeBSD system to  
 try every combination of numbers from 0 - .

It should be easy to create a script that runs from 0 to  or
whatever and tries every one out.   A simple for loop in any scripting
language would do that.   The only thing is to know how to send the
password to whatever it is that needs it and to read the response
to know if it worked.If the system locks out after a certain
numbers of errors, then you will also have to add some waits to
get it past those delays.I have no idea how to send to the
device you are speaking of or to read its response, but probably
something to STDOUT and from STDIN would do it or you may have to
open a pipe.

 It is possible I may have fat fingered the number so it could be 6 or  
 7 digits instead of the 4 I intended. I don't know. I tried every  
 variation I can think of and even got drunk again hoping to recreate  
 the stupid mistake.

If it is more tha 4 digits, set the for loop to go another one or two.
Running it could take a while if there are lockout waits - in the
order of weeks.

jerry

 
 I have totally messed that one up. I would have had to type it twice  
 which just goes to show you should not work on your junk while drunk.
 
 Can anyone help me out? The unit has no reset buttons to reset it to  
 defaults there is nothing online that I can find to bypass the unit.  
 I did a port scan and it appears to only be listening on port 80. Any  
 thoughts out there? Please.
 
 Thanks and I hope I made someone laugh with my mistake because I know  
 all my friends are.
 
 Thanks.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lost password caused by drunk admin

2007-04-17 Thread Jeffrey Goldberg

On Apr 16, 2007, at 8:59 PM, Lewis Joshua wrote:

Can anyone help me out? The unit has no reset buttons to reset it  
to defaults there is nothing online that I can find to bypass the  
unit. I did a port scan and it appears to only be listening on port  
80. Any thoughts out there? Please.


Does it have any way to attach a console?  If so, can you power cycle  
it and boot single user?


If you do, you may be able to reset the password that way, or if you  
can't directly reset it, you can grab a copy of /etc/password.master  
and then run john on that.  john, I think, can be configured to  
just try four digit numbers.


But if it's only listening on port 80, and there is no console, then  
it shouldn't be too hard to put together a perl (or python or your  
favorite scripting language) to try the 1 log ins via HTTP.   
Though a hangover might make the task more difficult.


-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lost password caused by drunk admin

2007-04-17 Thread Ian Lord

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ghirai
Sent: 17 avril 2007 02:58
To: Lewis Joshua; freebsd-questions@freebsd.org
Subject: Re: lost password caused by drunk admin

Hello Lewis,

Tuesday, April 17, 2007, 4:59:40 AM, you wrote:

 Hello FreeBSD List,

 Ok I made a huge mistake (insert laugh here because I know you will).
 I was working late at home and had more then a few drinks... A lot  
 more. I was working with a PAP2-NA (Analog to VoIP adapter (ATA)) and
 I changed the password. The password that was programed into the unit
 from my service provider was a randomly generated password and I was  
 messing with a lot of the settings and needed to keep logging in. So  
 I changed it to make my life easier.

 So any way I changed the password and now it appears I didn't change  
 the password to what I had thought I had. The password was a short 4  
 digit number. Like I said I just wanted to make my life easier while  
 I was messing around with it. Now I am locked out of the unit and  
 TOTALY SOL. My phones don't work at the house because the think has  
 been set incorrectly.

 I don't know how to crack passwords or even where to start. Is there  
 some kind of script or application I can run on my FreeBSD system to  
 try every combination of numbers from 0 - .

 It is possible I may have fat fingered the number so it could be 6 or
 7 digits instead of the 4 I intended. I don't know. I tried every  
 variation I can think of and even got drunk again hoping to recreate  
 the stupid mistake.

 I have totally messed that one up. I would have had to type it twice  
 which just goes to show you should not work on your junk while drunk.

 Can anyone help me out? The unit has no reset buttons to reset it to  
 defaults there is nothing online that I can find to bypass the unit.  
 I did a port scan and it appears to only be listening on port 80. Any
 thoughts out there? Please.

 Thanks and I hope I made someone laugh with my mistake because I know
 all my friends are.

 Thanks.

How/over what protocol do you get to wherever it asks for the password?

-- 
Best regards,
Ghirai.

Hi,

Is it just me or haven't you jumped too fast to the difficult solution ?

I did a simple search on google:
+pap2 +password reset

Which returned a lot of results...

I read through a couple of them and it appears you can use the analog port
to reset the password...

Here is one example that looks good:
http://forums.linksys.com/linksys/board/message?board.id=VoIP_Adaptersmessa
ge.id=11

Read through a couple of them, you might find an easier way then
bruteforcing the unit lol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lost password caused by drunk admin

2007-04-17 Thread Tom Ierna


On Apr 16, 2007, at 9:59 PM, Lewis Joshua wrote:
Can anyone help me out? The unit has no reset buttons to reset it  
to defaults there is nothing online that I can find to bypass the  
unit. I did a port scan and it appears to only be listening on port  
80. Any thoughts out there? Please.


Here's a document describing how to reset the Admin password by first  
upgrading the firmware with a TFTP server, and then using a machine  
configured to spoof an IP from which the device will read a plaintext  
XML config file.


http://www.sineapps.com/news.php?rssid=949

YMMV, HTH, HAND

--
Tom Ierna
President
Shockergroup, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lost password caused by drunk admin

2007-04-16 Thread Lewis Joshua

Hello FreeBSD List,

Ok I made a huge mistake (insert laugh here because I know you will).  
I was working late at home and had more then a few drinks... A lot  
more. I was working with a PAP2-NA (Analog to VoIP adapter (ATA)) and  
I changed the password. The password that was programed into the unit  
from my service provider was a randomly generated password and I was  
messing with a lot of the settings and needed to keep logging in. So  
I changed it to make my life easier.


So any way I changed the password and now it appears I didn't change  
the password to what I had thought I had. The password was a short 4  
digit number. Like I said I just wanted to make my life easier while  
I was messing around with it. Now I am locked out of the unit and  
TOTALY SOL. My phones don't work at the house because the think has  
been set incorrectly.


I don't know how to crack passwords or even where to start. Is there  
some kind of script or application I can run on my FreeBSD system to  
try every combination of numbers from 0 - .


It is possible I may have fat fingered the number so it could be 6 or  
7 digits instead of the 4 I intended. I don't know. I tried every  
variation I can think of and even got drunk again hoping to recreate  
the stupid mistake.


I have totally messed that one up. I would have had to type it twice  
which just goes to show you should not work on your junk while drunk.


Can anyone help me out? The unit has no reset buttons to reset it to  
defaults there is nothing online that I can find to bypass the unit.  
I did a port scan and it appears to only be listening on port 80. Any  
thoughts out there? Please.


Thanks and I hope I made someone laugh with my mistake because I know  
all my friends are.


Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]