home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
BASIC
/
POWBASIC
/
LIBRARY3
/
PASSWORD.ZIP
/
PSWDWRIT.BAS
< prev
Wrap
BASIC Source File
|
1990-10-31
|
820b
|
28 lines
'Program Name : PswdWrit.bas
'Author : Lloyd L. Smith for Spectra Technical Support
'Date : 10-31-90
'Compuserve # : GO PCVENB, Vendor #12/Spectra, Tech Support ID 71530,2640
'Tech Support BBS: 813-625-1721, PC-Board, 8,N,1 USR HST 300 - 14.4, 24hrs
'Tech Support Fax: 813-625-1698 G2 & G3 compatible
'Tech Support Voc: 813-625-1172 Voice
'Description : Program reads you exe file, locates password, write a new
'
open "pswdfile.exe" for binary as #1
cls
for i&=1 to 64220 'this number must be bigger than the length of your exe
k$=inkey$:if k$=chr$(27) then system
locate 1,1:print i&
seek 1,i&
get$ 1,6,a$
k&=i&
if a$="secret" then
print "We found it ":beep:print i&
seek 1,k&
put$ 1,"poop "
end if
if eof(1) then exit for
next i&
close #1
print "Done!"