Home | Community | Message Board


Edabea
Please support our sponsors.

Community >> The Pub

Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post. Pages: 1
Invisiblefunkymonk
Get's down, withthe get-down.
 User Gallery

Registered: 11/29/02
Posts: 8,160
Loc: saskatchewan
simple programming
    #1335443 - 02/25/03 05:21 PM (14 years, 30 days ago)

I need to write a simple program, and even though i don't know where to start, i'm confident....can someone help me out....??????


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineViking
"I've beenworking on myrr..rou..routine!"

Registered: 11/21/02
Posts: 304
Loc: Ontario, Canada
Last seen: 7 years, 3 months
Re: simple programming [Re: funkymonk]
    #1335554 - 02/25/03 05:52 PM (14 years, 30 days ago)

what do you want it do to?


Post Extras: Print Post  Remind Me! Notify Moderator
Invisiblefunkymonk
Get's down, withthe get-down.
 User Gallery

Registered: 11/29/02
Posts: 8,160
Loc: saskatchewan
Re: simple programming [Re: Viking]
    #1335634 - 02/25/03 06:12 PM (14 years, 30 days ago)


I have a program (it's a game) and i want to have it accessable only by password..
simple as fuck...just don't know where to start.. so really, for me it's not that simple.


Post Extras: Print Post  Remind Me! Notify Moderator
Invisibledjfrog
omgws!!!1!

Registered: 10/23/00
Posts: 3,710
Re: simple programming [Re: funkymonk]
    #1335832 - 02/25/03 07:24 PM (14 years, 30 days ago)

what language? What OS?


Post Extras: Print Post  Remind Me! Notify Moderator
Invisiblefunkymonk
Get's down, withthe get-down.
 User Gallery

Registered: 11/29/02
Posts: 8,160
Loc: saskatchewan
Re: simple programming [Re: djfrog]
    #1335910 - 02/25/03 08:09 PM (14 years, 30 days ago)

C++, windows me...
I got it figured out, the cat's in OTD helped me out...
thanks though


Post Extras: Print Post  Remind Me! Notify Moderator
OfflinePhluck
Carpal Tunnel
 User Gallery

Registered: 04/11/99
Posts: 11,393
Loc: Canada
Last seen: 1 year, 2 months
Re: simple programming [Re: funkymonk]
    #1336621 - 02/26/03 05:12 AM (14 years, 30 days ago)

Man, I used to be so into coding.

You could spend hours trying to get nifty patterns to appear on your screen... lots of fun. I wonder why I drifted away from that?


--------------------
"I have no valid complaint against hustlers. No rational bitch. But the act of selling is repulsive to me. I harbor a secret urge to whack a salesman in the face, crack his teeth and put red bumps around his eyes." -Hunter S Thompson
http://phluck.is-after.us


Post Extras: Print Post  Remind Me! Notify Moderator
Invisibledjfrog
omgws!!!1!

Registered: 10/23/00
Posts: 3,710
Re: simple programming [Re: funkymonk]
    #1336653 - 02/26/03 05:33 AM (14 years, 30 days ago)

with WinME, well, there isn't any way to really secure anything, ... If you're just looking to make the game hard to find, you can do the following

1) use CreateFile/ReadFile (http://www.msdn.microsoft.com) to load a critical file for the game into a buffer

2) use the password string to XOR it with the entire buffer of the file in the buffer

3) use CreateFile/WriteFile to write the XOR encoded file back to disk.

The XOR encoded file won't work, and to use it again, you need only repeat with the same password on the same file. XOR'ing something with the same memory twice produces the original file, so after the second time, the file will be useable again. The program won't contain the password needed to access the file, in fact unless someone knows you're using the XOR they won't have a clue whats going on. But XOR is a pretty weak encoding technique, if someone was determined with the right background they could crack it.

I'd probably make a commandline app that takes three parameters, the input file, the output file, and the password. Do the transform twice and make sure you can reproduce the original file. Then, after you've transformed the file, you can erase the original and its "inaccessible without the password"


Post Extras: Print Post  Remind Me! Notify Moderator
Jump to top. Pages: 1

Community >> The Pub

Similar ThreadsPosterViewsRepliesLast post
* Need some help finding a program...... Psilocybeingzz 671 10 02/05/07 11:22 PM
by klassasin
* Best program to burn dvd's for free?
Kada
586 10 04/24/08 02:33 PM
by RipVanWinkle
* a simple program for adding music to ipod shuffle Bridgeburner 384 3 09/30/08 02:23 AM
by DimensionX
* Passwords Ripple 798 4 12/13/02 01:16 PM
by Ripple
* Rar File Password....anyone know how to crack?
( 1 2 all )
DeadPhan 1,385 21 04/26/09 01:34 AM
by canid
* Free porn passwords anyone? Amatoxin 2,564 16 03/11/06 07:24 PM
by Amatoxin
* Good animation programs??? Psilocybeingzz 636 4 09/07/06 12:51 AM
by AngeloWish
* Anyone have a program to auto bid on ebay? dr_gonz 584 18 12/24/05 03:37 PM
by TM

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Entire Staff
590 topic views. 25 members, 182 guests and 98 web crawlers are browsing this forum.
[ Toggle Favorite | Print Topic | Stats ]
Search this thread:
Zamnesia.com
Please support our sponsors.

Copyright 1997-2017 Mind Media. Some rights reserved.

Generated in 0.029 seconds spending 0.005 seconds on 14 queries.