This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Macapple's profile picture

[Help] Floppy Disk Password Terminal Sniffer

Started by Macapple, 29 July 2012 - 08:40 AM
Macapple #1
Posted 29 July 2012 - 10:40 AM
Hi everyone,i thought about this for a while,but I couln't imagine how to do this…i need a program for my floppy that acts like this:

-I 'forgot' my Computer Craft terminal password…and programmed it as NOT TERMINABLE program with this code

os.pullEvent = os.pullEventRaw

I mounted a Disk Drive next to my Terminal

I put my Sniffer Floppy in the disk Drive…

Sniffer reads the PASSWORD string inside the program

Sniffer TELLS me the password (print string,of course)

I put the password in my Terminal

I got my password back :)/>/>

Is it possible to create some sort of Sniffer Hack Floppy? It should be AWESOME!

Greetings :ph34r:/>/>
Lyqyd #2
Posted 29 July 2012 - 10:52 AM
Put an empty program named startup on the disk. Reboot the computer.
Macapple #3
Posted 29 July 2012 - 10:56 AM
I want Sniffer to TELL me the Password,not simply breach.
ChiknNuggets #4
Posted 29 July 2012 - 11:06 AM
ahh you could create a program that tells you all the strings in the program
Macapple #5
Posted 29 July 2012 - 11:14 AM
ahh you could create a program that tells you all the strings in the program

Well,IDK how to do this,i asked for this lol :)/>/>
It should be awesome,even a force terminating of the password program,but the SNIFFER (Tell me the password) should be AWESOME :ph34r:/>/>
Lyqyd #6
Posted 29 July 2012 - 11:18 AM
I want Sniffer to TELL me the Password,not simply breach.

What? Why? Because it's "cooler"? That gives you exactly what you need to get the password back, like you stated in your first post. Is this just a code-this-for-me-a-specific-and-very-inefficient-way post?
Exerro #7
Posted 29 July 2012 - 11:26 AM
is the password in a a seperate file or in the code because if its in its own file then just open it up and print the contents but otherwise try using string.find
ChiknNuggets #8
Posted 29 July 2012 - 11:47 AM
string.find wouldn't work because he doesn't know the password, and the variable might not be pass or password, but i do see a way that this could be possible but its way to big of a code for it to be necessary
Macapple #9
Posted 29 July 2012 - 01:01 PM
What? Why? Because it's "cooler"? That gives you exactly what you need to get the password back, like you stated in your first post. Is this just a code-this-for-me-a-specific-and-very-inefficient-way post?

Not only for that,but for avoiding damaging the program from EDIT mode,if i press a button but i don't see what i did,i self-destroyed my lock,if it's complex (Like admin permission Lock,or lots-of-'print' lock…)
Tiin57 #10
Posted 29 July 2012 - 01:26 PM
Just make disk/startup with this code:

fs.copy("startup","disk/lock")
fs.delete("startup")
print("Done. Terminal unlocked.")
This will give you the original startup file on the disk, so you can edit it later and find out the password.
ChiknNuggets #11
Posted 29 July 2012 - 01:48 PM
he doesnt want to delete thier code….
Tiin57 #12
Posted 29 July 2012 - 01:51 PM
It can be restored via this program:

fs.copy("disk/lock","/")
fs.rename("lock","startup")
BigSHinyToys #13
Posted 29 July 2012 - 01:52 PM
What? Why? Because it's "cooler"? That gives you exactly what you need to get the password back, like you stated in your first post. Is this just a code-this-for-me-a-specific-and-very-inefficient-way post?

Not only for that,but for avoiding damaging the program from EDIT mode,if i press a button but i don't see what i did,i self-destroyed my lock,if it's complex (Like admin permission Lock,or lots-of-'print' lock…)
you don't have to save before exiting edit so you cant damage the program without a lot of bad luck
Macapple #14
Posted 29 July 2012 - 04:17 PM
Well,actually i'm using Lyqyd's version,it's pretty useful,even in a PvP/Survival 100% map,can breach in every house: Thanks Lyqyd :ph34r:/>/>
I'm using as secondary Floppy the tiin57's one: i labeled it "S.a.b.O.T. (System at booted Out Type) It's like it STEALS the victim's 'Startup' file,nice
Thanks Everyone…
Please leave this post OPEN in case someone gets a SNIFFER code (Tell me the password without deleting or leaving hints)
KingMachine #15
Posted 29 July 2012 - 04:30 PM
the only sniffer you'd be coding would be a rednet broadcast out straight from their startup file once they entered their password. This jeopardizes your computer's identity and location. Once you're "in" it would just be better to read their code and follow it to the location of their password.
BigSHinyToys #16
Posted 29 July 2012 - 04:31 PM
Well,actually i'm using Lyqyd's version,it's pretty useful,even in a PvP/Survival 100% map,can breach in every house: Thanks Lyqyd :ph34r:/>/>
I'm using as secondary Floppy the tiin57's one: i labeled it "S.a.b.O.T. (System at booted Out Type) It's like it STEALS the victim's 'Startup' file,nice
Thanks Everyone…
Please leave this post OPEN in case someone gets a SNIFFER code (Tell me the password without deleting or leaving hints)

reasons why this is not going to happen

the password may be stored in a string or table or sub table. the password might not even be stored locally and on top of that it is probable not names "password"

computers cant read or right code (they only execute code) the computer can't problem solve what variable / what name it is.

you could make something that looked for a variable that is compared to a variable obtained by a reed() but that is extremely complex well out of my "Pay Grade"/"Experience Level" There are coders in the forums that could do that But every login system is unique and it would be hard to make a fail safe system that works even 50% of the time. opening and looking at the source for the login is the best way to know how it works.