banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận virus, trojan, spyware, worm... Cho em hỏi cái  XML
  [Question]   Cho em hỏi cái 01/09/2006 08:26:32 (+0700) | #1 | 19681
duykhang91
Member

[Minus]    0    [Plus]
Joined: 31/08/2006 21:23:15
Messages: 3
Offline
[Profile] [PM]
Em sửa 1 code từ phần example của autoIT xong tự nhiên nó chạy ko ngừng nên bị ngộ nhận là 1 virus, em cũng ko bit cách làm sao cho nó dừng nữa, giúp em với smilie. Sau đây là đoạn code, giải thích cho em nha :

;
; AutoIt Version: 3.0
; Language: English
; Platform: Win9x/NT
; Author: Jonathan Bennett (jon@hiddensoft.com)
;
; Script Function:
; Opens Notepad, types in some text and then quits.
;

; Run Notepad
Run("notepad.exe")


; Wait for the Notepad become active - it is titled "Untitled - Notepad" on English systems
WinWaitActive("Untitled - Notepad")


; Now that the Notepad window is active type some text
Send("Thu nghiem chuong trinh moi.{ENTER}Vui ve chut di bo teo{ENTER}")
Sleep(500)
Send("+{UP 2}")
Sleep(500)


; Now quit by pressing Alt-f and then x (File menu -> Exit)
Send("!f")
Send("x")


; Now a screen will pop up and ask to save the changes, the window is called
; "Notepad" and has some text "Yes" and "No"
WinWaitActive("Notepad", "No")
Send("n")


; Now wait for Notepad to close before continuing
WinWaitClose("Untitled - Notepad")


; Finished!

Tác giả nên sủa lại tiêu đề. Có gì chưa rõ xem lại "Nôi quy" diễn đàn
[Up] [Print Copy]
  [Question]   Cho em hỏi cái 01/09/2006 22:26:37 (+0700) | #2 | 19841
willbepro
Member

[Minus]    0    [Plus]
Joined: 27/08/2006 20:32:00
Messages: 10
Offline
[Profile] [PM] [Yahoo!] [MSN]
Cứ chạy thử lại chương trình, nó dừng ở đoạn nào thì kiểm tra đoạn đấy.
Mà hình như đoạn này là ăn cắp từ cái Example của AutoIT mà. smilie
[Up] [Print Copy]
  [Question]   Re: Cho em hỏi cái 02/09/2006 02:45:10 (+0700) | #3 | 19955
[Avatar]
ducnamnv
Member

[Minus]    0    [Plus]
Joined: 22/09/2003 15:29:11
Messages: 55
Location: Đâu đó
Offline
[Profile] [PM]
Tôi chạy thử rồi có thấy vấn đề gì đâu, chạy ngon lành kể cả khi build ra file exe
Fan of LeVuHoang, conmale
[Up] [Print Copy]
  [Question]   Re: Cho em hỏi cái 02/09/2006 02:53:22 (+0700) | #4 | 19961
[Avatar]
ducnamnv
Member

[Minus]    0    [Plus]
Joined: 22/09/2003 15:29:11
Messages: 55
Location: Đâu đó
Offline
[Profile] [PM]
úi, Xin lỗi nhé tôi đọc chưa kỹ. Nếu bạn muốn dừng lại 1 chút thì hàm Sleep của bạn phải có giá trị tương đối lớn. Ví dụ

Send("Thu nghiem chuong trinh moi.{ENTER}Vui ve chut di bo teo{ENTER}")
Sleep(500)
Send("+{UP 2}")
Sleep(5000)

Hoặc bạn phải có 1 đoạn code để yêu cầu người nhận phải nhập chữ hoặc xác nhận gì đó rồi mới thực thi tiếp.
Fan of LeVuHoang, conmale
[Up] [Print Copy]
  [Question]   Cho em hỏi cái 03/09/2006 05:10:04 (+0700) | #5 | 20220
duykhang91
Member

[Minus]    0    [Plus]
Joined: 31/08/2006 21:23:15
Messages: 3
Offline
[Profile] [PM]
Em chưa hiểu lắm, em gửi file exe cho mấy đứa bạn, tụi nó thử (kể cả em cũng thử) thì nó chạy hoài ko ngừng, em ko bít up file lên thế nào, gửi mail cho em : duykhang91@gmail.com , em sẽ gửi file cho các anh thử. Nó chạy hoài, tạo ra wá trời item trên taskbar luôn. Em hổng bít cách dừng !! smilie
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|