![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 | |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Quote:
|
|
|
|
|
|
|
#22 |
|
Programming Guru
![]() ![]() |
Isn't this another reason why it would be nice to have a compiler that converts the code?
|
|
|
|
|
|
#23 | |
|
Programmer
Join Date: Apr 2005
Posts: 73
Rep Power: 4
![]() |
Quote:
...blah blah blah... Yeah it's hardly strong security, but it's something (A tiny encryption/decryption/launcher module with an encrypted sourcefile and the use of compile() might be a little stronger...). I guess it really comes down to _why_/_what_ he's attempting to password protect. (I was thinking remote-login but on re-reading later responses he's talking a distributed executable so you're quite right). [No Sane: compilation won't help much] -T. |
|
|
|
|
|
|
#24 |
|
Programming Guru
![]() ![]() |
Why not? Once the source is converted and compiled, only the strings can be altered using a Hex Editor, and the code can not be retrieved to recompile.
|
|
|
|
|
|
#25 |
|
Programmer
Join Date: Feb 2005
Posts: 54
Rep Power: 4
![]() |
Actually, anything in a program can be changed, not just the strings. Someone could use a debugger to figure out where your program is getting the password or simply add some instructions (in assembly) to bypass whatever security measures you added.
It happens all the time. Ever download a crack for a game? Same thing. |
|
|
|
|
|
#26 |
|
Programming Guru
![]() ![]() |
No the format of compiled code can't be changed. Only certain directions like True False or strings. I'm very sure. Like try changing this so it bypasses the internet list check.
;ò
Ô/àBc @ s¦ d k Z d k Z d k Z d k Z d k Z d k Te i i ƒ e i ƒ d e f d „ ƒ YZ d e f d „ ƒ YZ
d „ Z d „ Z d „ Z
d „ Z e
ƒ d S(
N( s *s Buttonc B s, t Z d d „ Z d d „ Z d d „ Z RS( Ns normalc C s´ t i i ƒ d | _ | | _ t i i d | d ƒ | _ t i i d | d ƒ | _ t i i d | d ƒ | _ | | _
| | _ | d d | d d f | _
d
| _ d S( Ns Fs images/s .pngs
highlight.pngs pressed.pngi iI i i s ( s pygames fonts inits selfs highlights styles images loads imagehighlights imagepresseds screens topleftrects co1s co2s Pressed( s selfs screens topleftrects images style( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws __init__ s
s Tc C sä | i } | i d j o
| i } n; | i d j o
| i } n | i d j o
| i } n | i | | i d | i d f ƒ | d j o t i
i ƒ n | i d j o. | i d j o d | _ t
i d ƒ qà n d S( Ns Ts Fs PRESSi i s normalf0.20000000000000001( s selfs screens highlights imagehighlights images imagepresseds blits co1s Flips pygames displays flips styles times sleep( s selfs Flips screens image( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws draw s
$
s LEFTCLICKc C s? | d j o
d } n | d j o
d } n | | _ | i d j o* | i d j o d | _ d | _ qq n | i } yù| i t
j oÄ | i | j o° | i d | i
d j o‘ | i d | i d j or | i d | i
d j oS | i d | i d j o4 d | _ d | _ | i d j o | i ƒ q=qAqEqIqMqrn"| i t j o| i d | i
d j oÕ | i d | i d j o™ | i d | i
d j o] | i d | i d j o! | i d j o
d | _ qq,| i d j o
d | _ q,qM| i d j o
d | _ qMqn| i d j o
d | _ qnqr| i d j o
d | _ qrn Wn n Xd S(
Ns LEFTCLICKi s
RIGHTCLICKi s normals Ts s PRESSs F( s clicktypes mousebuttons selfs Triggers styles Presseds highlights screens events types MOUSEBUTTONDOWNs buttons poss co1s co2s draws MOUSEMOTION( s selfs events clicktypes screens mousebutton( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws Update) sL
& ( s __name__s
__module__s __init__s draws Update( ( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws Button s s CheckButtonc B s& t Z d „ Z d d „ Z d „ Z RS( Nc C sI t i i d ƒ | _ t i i d ƒ | _ | | _ t | _ | | _ d S( Ns images/checkfalse.pngs images/checktrue.png(
s pygames images loads selfs
imagefalses imagetrues locations Falses Presseds screen( s selfs screens location( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws __init__Y s
s Tc C s^ | i } | i o
| i } n
| i } | i | | i ƒ | d j o t i
i ƒ n d S( Ns T( s selfs screens Presseds imagetrues images
imagefalses blits locations flips pygames display( s selfs flips screens image( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws draw` s
c C sÀ y² | i t j ož | i d | i d j o | i d | i d d j o\ | i d | i d j o= | i d | i d d j o t t g | i | _ q¥ q© q* q± n Wn n Xd S( Ni i i ( s events types MOUSEBUTTONDOWNs poss selfs locations Trues Falses Pressed( s selfs event( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws Updaten s . ( s __name__s
__module__s __init__s draws Update( ( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws CheckButtonX s c C s* t i i d ƒ t i i | ƒ } | Sd S( Ns MSN Lock 3.0 - JDI( s pygames displays set_captions set_modes screen( s displays screen( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws video_settingsy s c C s d } t } d } g } x+ t t | ƒ ƒ D] } | i | | ƒ q+ Wx8 t t | ƒ ƒ D]$ } t t
| | ƒ | ƒ | | <qY Wd i | ƒ } t i
ƒ } d d f g | _ | i | ƒ i ƒ }
d } g } x+ t t | ƒ ƒ D] } | i | | ƒ qâ Wx8 t t | ƒ ƒ D]$ } t t
| | ƒ | ƒ | | <qWd i | ƒ } |
d | d j o
t } n x/t t |
ƒ ƒ D]} |
| i ƒ | i ƒ d j p\ |
| i ƒ | i ƒ d j p; |
| i ƒ | i ƒ d j p |
| i ƒ | i ƒ j o• t i i t d
ƒ } | i | i d d d d d f ƒ d
d f ƒ | i | i d d d d d f ƒ d d f ƒ t i i ƒ t i d ƒ t } qyqyW| o` t i i! ƒ xP | oC y5 t" i# ƒ } | i% | d ƒ t o t& i' ƒ n Wq°q°Xq°Wn t( t) d d f ƒ ƒ d S( Ni s huvs>458~@8n{z=s‚„s?yDzxŒzHˆ?‰s s
User-agents Mozilla/5.0s dsudrjeGpx~xmvz=s€s
s
s
i s The Selected User Has Anti-MSL!i iQ i iÿ iR i s xxxxxxxis iŒ (* s xs Falses leaves us urls ranges lens as appends chrs ords joins urllib2s build_openers openers
addheaderss opens readliness pages Trues lowers emails pygames fonts Fonts Nones screens blits renders displays flips times sleeps quits msnps Sessions msns logins syss exits Mains video_settings( s emails screens fonts msns openers as urls leaves us xs page( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws Lock~ s\ " "
€..
c C s¶ yD t d d ƒ i ƒ } | d j o
| d j o t | t ƒ n Wn n Xt d d f ƒ }
t i i d ƒ } t i i d ƒ } t i i d ƒ } x’ t
d
ƒ D]„ } x{ t
d ƒ D]m } | | g } | d d
j o | i | ƒ n | i | ƒ | d
} |
i | | d d | d f ƒ q¶ Wq£ Wt i i ƒ d d d d d d d d d d d d d d d d d d d d d d d g } t i i t d ƒ } xZ t
t | ƒ ƒ D]F } | i | | d d d d f ƒ } |
i | d
| d d f ƒ q«W|
i | d
d
f ƒ t i i ƒ d
}
t } xu | om xE t i i ƒ D]4 } | i t! j o | i" t# j o
t$ } qrq>q>W|
d! 7}
|
d" j o
d
}
q'q'Wt% t d# d$ f ƒ ƒ d S(% Ns autoexec.msls rs s i, i| s images/tile1.pngs images/tile2.pngs images/title.pngi i i i i2 i
s? This program is intended to disallow all logins directed to thes= address you enter. But only until the program is exited.s> It will only work on people who use the address for logging ins3 with MSN Messenger.s< They will still be able to use the account for emailing.s: The effects are only temporary.s> By using this product you are agreeing to all terms of frees= distribution, but you may not hold me responsible for anys> damage or loss of account, or any other unintentional act as as; consequence of my program causing any other form of harm.s< Make sure your computer is connected to the Internet.s= To issue any complaints, feedback, bug notifications, etc,s2 email me at dr.sane@gmail.coms; Press Enter To Continue . . .i iÿ i i i* is i* (& s opens reads files Locks Nones video_settingss screens pygames images loads tile1s tile2s headers ranges as bs tiles removes blits displays flips texts fonts Fonts lens renders textas PreventCrashs Trues NoEvents events gets types KEYDOWNs keys K_RETURNs Falses Main( s tile1s tile2s texts headers textas files NoEvents fonts events tiles screens as bs PreventCrash( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws Open¶ sT
*
K ""
c C s t i i d ƒ } t i i d ƒ } t i i d ƒ } t i i d ƒ } t i i d ƒ } t i i d ƒ } x’ t d ƒ D]„ } x{ t d ƒ D]m } | | g } | d d
j o | i
| ƒ n | i
| ƒ | d
} | i | | d d | d f ƒ qŒ Wqy Wt i i t d
ƒ }
| i |
i d d d d d f ƒ d d f ƒ | i |
i d d d d d f ƒ d d f ƒ | i |
i d d d d d f ƒ d d f ƒ t | d d f d d ƒ } t | d d f d d ƒ } t | d d f d d ƒ } t | d d f ƒ } | i d d! ƒ | i d d! ƒ | i d d! ƒ | i d ƒ | i d" ƒ | i d" ƒ | i d" ƒ | i d" ƒ d# } | i | d$ d% f ƒ | i |
i | d d d d f ƒ d& d' f ƒ t } d
} d } t } xÃ
| oº
x1
t i" i# ƒ D]
} | oA | i | d! ƒ | i | d! ƒ | i | d! ƒ | i | ƒ n | i$ t% j o¸t } t' } | oR| i) d
d$ j o | i) d
d$ d( j oâ | i) d) d* d+ d
j o | d
} d, } t' } n | i) d) d* d+ d) j o | d) } n | i) d) d* d+ d j o | d } n | i) d) d* d+ d- j o | d- } n | i) d) d* d+ d. j o | d. } qtn x’ t d ƒ D]„ } x{ t d ƒ D]m } | | g } | d d
j o | i
| ƒ n | i
| ƒ | d
} | i | | d d | d f ƒ q”Wq?Wt i i t d
ƒ }
| i |
i d d d d d f ƒ d d f ƒ | i |
i d d d d d f ƒ d d f ƒ | i |
i d d d d d f ƒ d d f ƒ t } t } n | i+ d) j oê| i) d
d$ d/ j oÜ| i) d) d% j oc| i) d
d$ d( d/ j oâ | i) d) d% d0 j oe d, } | d# j o
d } n | i | d$ d% f ƒ | i |
i | d d
d
d
f ƒ d& d' f ƒ qSd } | d j o
d# } n | i | d$ d% f ƒ | i |
i | d d d d f ƒ d& d' f ƒ q¸d } | d j o
d# } n | i | d$ d% f ƒ | i |
i | d d d d f ƒ d& d' f ƒ qd } | d j o
d# } n | i | d$ d% f ƒ | i |
i | d d d d f ƒ d& d' f ƒ nb d } | d j o
d# } n | i | d$ d% f ƒ | i |
i | d d d d f ƒ d& d' f ƒ | i) d
d$ d( d/ j ou | i) d) d% j o] | i) d
d$ d( j oA | i) d) d* j o) | o | o t' } d* } d } q¢q¦qªq®q²n | oN d, } | i | d$ d% f ƒ | i |
i | d d
d
d
f ƒ d& d' f ƒ q n | i- oN d# } | i | d$ d% f ƒ | i |
i | d d d d f ƒ d& d' f ƒ n | o| i$ t. j ot/ | ƒ d j oí d1 d d2 g } d3 }
x8 t t/ | ƒ ƒ D]$ } | | | i2 j o
d4 }
qµ qµ W|
d3 j o | | i3 7} n | i2 d5 j o& y | t/ | ƒ d } Wq2
q2
Xn | i | d$ d% f ƒ | i |
i | d d
d
d
f ƒ d& d' f ƒ q~
q‚
n | o\| i | d$ d6 f ƒ | i$ t4 j o0| i) d
d$ j o | i) d
d$ d( j oê | i) d) d* d+ d
j o d* d+ d
} n | i) d) d* d+ d) j o d* d+ d) } n | i) d) d* d+ d j o d* d+ d } n | i) d) d* d+ d- j o d* d+ d- } n | i) d) d* d+ d. j o d* d+ d. } qÅn | i | d& | f ƒ n yÈ t5 d7 d8 ƒ i6 ƒ } | t/ | ƒ d t/ | ƒ !} | i7 ƒ x4 t d ƒ D]& } | | t/ | | ƒ d) | | <q+WxN t d ƒ D]@ } | i |
i | | d d
d
d
f ƒ d d* d+ | f ƒ qbWWqåd9 d } t5 d7 d: ƒ } | i: | ƒ | i; ƒ qåXn | i- o% | i ƒ t< i= d; ƒ t> i? ƒ qôqôW| o8 | i d" ƒ | i d" ƒ | i d" ƒ | i d" ƒ n t i@ iA ƒ | d) 7} | d< j o
d
} n | i- o
t' } qÜqÜW| d= } t5 d7 d8 ƒ i6 ƒ } d) } xK t t/ | ƒ ƒ D]7 } tE | | ƒ tE | ƒ j o d> | | <d
} q×
q×
Wy( x! t d? ƒ D] } | i
d> ƒ q"WWn n Xt5 d7 d: ƒ } | i: d iF | | ƒ | ƒ | i; ƒ | i | d$ d% f ƒ | i |
i | d d d d f ƒ d& d' f ƒ t i@ iA ƒ | i- o* t5 d@ d: ƒ } | i: | ƒ | i; ƒ n tG | | ƒ d S(A Ns images/tile1.pngs images/tile2.pngs images/text_box2.pngs images/text_box1.pngs images/dropdown.pngs images/gun.pngi i i i i2 i
i s= Check Box to Automatically Blockiÿ id s: Address upon opening program!ix sH Allow at least 30 seconds for locking to take effect.iŒ i; iA s locks stickyi• s clears normaliï s quiti in s s LEFTCLICKs Fs <Click To Enter Email>i< i iP i# iý i i7 i s Ti i i i i
iÌ s nos yesi i4 s history.msls rs <Click To Enter Email>
s wf0.5i* s
s i s autoexec.msl(H s pygames images loads tile1s tile2s
textboxnormals textboxtypes dropdowns cursors ranges as bs tiles removes screens blits fonts Fonts Nones renders Buttons
LockButtons ClearButtons
QuitButtons CheckButtons
ApproveButtons Updates draws Emails Falses Returns PreventCrashs clickeds drops events gets types MOUSEBUTTONDOWNs bypasss Trues alts poss recents buttons Ys Presseds KEYDOWNs lens invalids nos keys unicodes MOUSEMOTIONs opens readliness reverses xxs files writes closes times sleeps syss exits displays flips xs ys TTs strs joins Lock( s screens tile1s tile2s ClearButtons
ApproveButtons xxs
textboxnormals invalids files alts fonts Emails Returns nos TTs textboxtypes events bypasss tiles dropdowns
QuitButtons Ys clickeds recents as bs
LockButtons drops cursors ys xs PreventCrash( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws Main s®
*...
. ,
*...
2
2
2
2
.6
2 :,
$
B
.
( s msnps syss pygames urllib2s times
pygame.localss fonts inits objects Buttons CheckButtons video_settingss Locks Opens Main( s msnps Locks Buttons urllib2s CheckButtons syss video_settingss pygames times Mains Open( ( sA C:\Documents and Settings\Owner\Desktop\Misc\MSL\MSL 30\MSL30.pyws ? s -
Q! 8 P ÿ o_o Sorry if I'm wrong, I just always thought compiled code's format can't be changed. PS I haven't downloaded a crack for a game because I don't play games, and I don't support illegal programs. |
|
|
|
|
|
#27 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
You want to use a hex editor. All those squares are things that can't be displayed in the current character set. Load your file in the hex editor or decompiler, tweak around, save, voila.
|
|
|
|
|
|
#28 |
|
Programmer
Join Date: Feb 2005
Posts: 54
Rep Power: 4
![]() |
I don't pirate games either, but that doesn't mean I don't understand the security issues surrounding them.
You need to realize that a program is just a file on a computer. If you think of it as a bunch of bytes that you could read and change, then you will realize that a person with enough skill can make your program do whatever they want. Unless the hardware has some security measures also, such as Trusted Computing. But the cure is worse than the disease. |
|
|
|
|
|
#29 |
|
Programmer
Join Date: Feb 2005
Posts: 54
Rep Power: 4
![]() |
Here's a perfect example. Microsoft is trying to make sure that no one uses a pirated version of Windows. Their new program has only been out for a week and has already been cracked twice.
|
|
|
|
|
|
#30 |
|
Newbie
Join Date: Jul 2005
Posts: 14
Rep Power: 0
![]() |
Guys, could you do me a big favor? Tell me how to put a program I've created on a web page. Thanks a lot. And I mean A LOT. I need to know how for a kids game on a web site.
__________________
Scientists prove this. Scientists prove that. They discover this, discover that. Though it seems there will be nothing left the discover, wrongo. Look beyond. I see no boundaries. The only boundaries, are your determination, your imagination, your intuition, and your knowledge. But it all started with a dream. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|