[ Charli @ 13.07.2004. 22:05 ] @
| Dajte ljudi na muke sam kako da koristim UPX i sta je to ali ako moze primjer iz vb
Ako ne znate kako da to uradim onda cisto objasnjenje zasta sluzi upx ja znam da je to program za kompresiju itd ali ne znam sve mogucnosti i sta se postize kompresijom exe ili com itd.
:? |
[ Cr4x0r @ 13.07.2004. 23:51 ] @
UPX znam taj izraz iz crackinga ,to je program za pakovanje fajla upravu si, smanji u velicinu i promjeni mu binarni code tako da ga nemozes otvoriti naprimjer u nekom debugeru tipa windasm32, ali ja bi preporucio TeLock pravo je gadan za probiti ga.
Vise packera mozes naci na:
http://www.protools.cjb.net
[ VRKY @ 14.07.2004. 08:20 ] @
Ovako ga koristriš:
Iskopiraš Upx i taj .exe fajl koji hoćeš kompresirati na V otvori Comand promt i upišeš "CD\" i pritisneš ENTER a onda upišeš "Upx -9 ime fajla.exe" i opet ENTER i to bi bilo to...
[ mladenovicz @ 14.07.2004. 10:54 ] @
Ako UPX ima neki objektni model, proveri da li mozes da dodas na referencu na nesto sto se zove *UPX*. Moguce je da ima neki UPX API dll, pa je potrebno da deklarises API da bi mogao da koristis (pogledaj u nekoj dokumentaciji). U krajnjem slucaju Shell bi trebalo da radi.
[ Charli @ 14.07.2004. 19:26 ] @
A moze li primjer za shell.......
uzgred hvala
[ mladenovicz @ 15.07.2004. 09:03 ] @
Citat:
MSDN:
Shell Function
Runs an executable program and returns a Variant (Double) representing the program's task ID if successful, otherwise it returns zero.
Syntax
Shell(pathname[,windowstyle])
The Shell function syntax has thesenamed arguments:
Part Description
pathname Required; Variant (String). Name of the program to execute and any requiredarguments orcommand-line switches; may include directory or folder and drive.
windowstyle Optional. Variant (Integer) corresponding to the style of the window in which the program is to be run. If windowstyle is omitted, the program is started minimized with focus.
The windowstyle named argument has these values:
Constant Value Description
vbHide 0 Window is hidden and focus is passed to the hidden window.
vbNormalFocus 1 Window has focus and is restored to its original size and position.
vbMinimizedFocus 2 Window is displayed as an icon with focus.
vbMaximizedFocus 3 Window is maximized with focus.
vbNormalNoFocus 4 Window is restored to its most recent size and position. The currently active window remains active.
vbMinimizedNoFocus 6 Window is displayed as an icon. The currently active window remains active.
Code:
' Specifying 1 as the second argument opens the application in
' normal size and gives it the focus.
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.
[ Charli @ 15.07.2004. 19:34 ] @
Ok Hvala
:)
Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.