Cách Mã Hóa Và Giải Mã Code VBA (2 người xem)

Liên hệ QC

Người dùng đang xem chủ đề này

Kiều Mạnh

I don't program, I beat code into submission!!!
Tham gia
9/6/12
Bài viết
5,538
Được thích
4,129
Giới tính
Nam
Có một Bạn cho mình một file Excel .... mình coi code thấy họ mã hóa không hiểu được.... vậy mình muốn hỏi sử dụng công cụ nào mà mã hóa code ra như vậy.. hay đó là một ngôn ngữ lập trình mới vv ...
Rất mong các thành cùng tham gia nghiên cứu và viên Trợ Giúp
xin cảm ơn

Mình mới sửa lại bài viết tiếng Anh ...tiếng viết nhảy lung tung do mình để Anh Google Auto Dich nên mới vậy
Xin lỗi rất nhiều
 

File đính kèm

Lần chỉnh sửa cuối:
Mình ban be mot nguoi cung cấp cho one file Excel .... mình coi in which thì thấy mã be mã hóa .... vậy mình muốn hỏi sử dụng công cụ nào to mã hóa such ... that là hay ngôn ngữ mới vv ...
nhiều mộng members of mình giúp đỡ
xin cảm ơn
PHP:
Sub qwertyuiopsdfwy (qwertyuiopsdyt, qwertyuiopsdts, qwertyuiopsdyq, qwertyuiopsdyu, qwertyuiopsdye, qwertyuiopsdyr): qwertyuiopsdre Dim As Integer: Dim qwertyuiopsdyy As Integer Dim qwertyuiopsdyi: qwertyuiopsdyy = qwertyuiopsdfgpy: qwertyuiopsdyi = qwertyuiopsdfgeu: Sheets (qwertyuiopsdyt) .Visible = qwertyuiopsdfgew: Đặt qwertyuiopsdey = Sheets (qwertyuiopsdyt): Sheets (qwertyuiopsdyt) .Copy: Với ActiveSheet: Rows (qwertyuiopsdfgsu) .Insert: qwertyuiopsdre = .Cells (Rows.Count, qwertyuiopsdfgis ). End (xlUp) .RowIf qwertyuiopsdye = qwertyuiopsdyr Thenqwertyuiopsdyu = qwertyuiopsdfgsi & Format (qwertyuiopsdye, qwertyuiopsdfgoe): End Nếu: Với Range (qwertyuiopsdfgso): .Value = qwertyuiopsdyq: .HorizontalAlignment = xlCenter: .Font.Size = qwertyuiopsdfgpp: End With: Với Range (qwertyuiopsdfgsp): .Value = Replace (Replace (qwertyuiopsdyu, qwertyuiopsdfgss, Format (qwertyuiopsdye, qwertyuiopsdfgoe)), qwertyuiopsdfgsd, Format (qwertyuiopsdyr, qwertyuiopsdfgoe)): .HorizontalAlignment = xlCenter: .Font.Italic = qwertyuiopsdfgew: End Nếu qwertyuiopsdre> qwertyuiopsdfgtr + qwertyuiopsdyi ThenRange (qwertyuiopsdfgp & qwertyuiopsdre + qwertyuiopsdfgeu) .Value = .Range (qwertyuiopsdfgp & qwertyuiopsdfgtr + qwertyuiopsdyi) .Value: Range (qwertyuiopsdfgp & qwertyuiopsdre + qwertyuiopsdfgtr) .Value = qwertyuiopsdfgod & qwertyuiopsdye: Range (qwertyuiopsdfge & qwertyuiopsdre + qwertyuiopsdfgeu). Value = .Range (qwertyuiopsdfgp & qwertyuiopsdfgtr + qwertyuiopsdyi) .Value: Range (qwertyuiopsdfge & qwertyuiopsdre + qwertyuiopsdfgtr) .Value = qwertyuiopsdfgpe & Format (DateAdd (qwertyuiopsdfgou, qwertyuiopsdfgwt, qwertyuiopsdyr), qwertyuiopsdfgsf) Range (qwertyuiopsdfgto & qwertyuiopsdfgtr + qwertyuiopsdyi & qwertyuiopsdfgsg & qwertyuiopsdre) .AdvancedFilter Action: = xlFilterCopy, CriteriaRange: = Range (qwertyuiopsdfgp & qwertyuiopsdre + qwertyuiopsdfgeu & qwertyuiopsdfgee & qwertyuiopsdfge & qwertyuiopsdre + qwertyuiopsdfgtr), CopyToRange: = Range (qwertyuiopsdfgto & qwertyuiopsdre + qwertyuiopsdyy), Unique: = qwertyuiopsdfgg: Range (qwertyuiopsdfgto & qwertyuiopsdre + qwertyuiopsdyy - qwertyuiopsdfgwt) .Select: Range (Selection, Selection.End (xlUp)) Chọn: Range (Selection, Selection.End (xlUp)) SelectSelection.EntireRow.Delete Shift: = xlUp: qwertyuiopsdre = .Cells .. ( Rows.Count, qwertyuiopsdfgeu) .End (xlUp) .Row: Range (qwertyuiopsdfgrs & qwertyuiopsdfgeu + qwertyuiopsdyi) .Formula = qwertyuiopsdfgdq & qwertyuiopsdfgtr + qwertyuiopsdyi & qwertyuiopsdfgdw & qwertyuiopsdre & qwertyuiopsdfgde: Range (qwertyuiopsdfgsr) = qwertyuiopsdfgwtIf qwertyuiopsdre> qwertyuiopsdfgis ThenRange (qwertyuiopsdfgdr) = qwertyuiopsdfgeu: Nếu qwertyuiopsdre> qwertyuiopsdfgpy Sau đó, Range (qwertyuiopsdfgdt) .AutoFill Range (qwertyuiopsdfgdy & qwertyuiopsdre) End If: End Nếu: .name = qwertyuiopsdts: End With: ActiveWindow.FreezePanes = qwertyuiopsdfgg: End Sub

làm sao chạy nó vậy bạn, nhấn "run macro" nó ra một cái cửa sổ macro ko có module nào trong đó hết?
 
Upvote 0
Vậy mình úp File gốc lên ta cùng nhau nghiên cứu quậy chơi nha.
 

File đính kèm

Upvote 0
Mình ban be mot nguoi cung cấp cho one file Excel .... mình coi in which thì thấy mã be mã hóa .... vậy mình muốn hỏi sử dụng công cụ nào to mã hóa such ... that là hay ngôn ngữ mới vv ...
nhiều mộng members of mình giúp đỡ
xin cảm ơn

Chưa nói đến code, chỉ đọc nguyên văn câu hỏi trên cũng chả hiểu chú nói gì
???!!!
Cứ như là tiếng Miên trộn với tiếng Anh
 
Upvote 0
[QUOTE = ndu96081631; 669,113] Chưa nói đến ma, chỉ đọc nguyên văn câu hỏi trên mà chả hiểu chú nói gì
??? !!!
Cứ như tiếng Miên trộn cho tiếng Anh [/QUOTE]

Không biết mạng hôm nay nó sao ấy Em viết tiếng Việt nó cứ nhảy ra tiếng Anh ...
Ý Em muốn hỏi dùng công cụ nào mà mã hóa code ra như vậy..... hay đó là ngôn ngữ lập trình mới gì .........
 
Lần chỉnh sửa cuối:
Upvote 0
[QUOTE = ndu96081631; 669,113] Chưa nói đến ma, chỉ đọc nguyên văn câu hỏi trên mà chả hiểu chú nói gì
??? !!!
Cứ như tiếng Miên trộn cho tiếng Anh


Mình nhớ có 1 lần vọc có 1 cái tool cài vào excel. Nó mã hoá ra như vậy nhưng nó đòi bản quyền nên gỡ ra mất tiêu.

hình như tool này
http://www.datasafexl.com/protect-vba-code
 
Lần chỉnh sửa cuối:
Upvote 0
Upvote 0
Upvote 0
trong lúc tìm theo đường link của bạn QuocPhuoc, tôi thấy link này
bạn thử xem (thấy miễn phí), tôi thấy mấy cái .exe này ít khi dám chơi lắm.....hiihihihi
http://download.com.vn/download/protect-vba-code/26152


RET7rSAIWEGi6hxSzRNbnWffL72dT5TQGtrZLUkNs97StagIhpCD5PZZOuxQia5h_lgkKN5Htodi1WJtCDNnqKcBzwS7vCYyHR_hH-XTTTZ4kcnf-LR_7171eBi1kMQCtom8KGKJAWpzUMq76V7rLbSysWkKwhHqAxGTM--xEaDL6Cq0DezCjtgf5Jwug2GkJ9T90TtqllruRA2KliZuDHkug34-6_eF7VTwSrt8BOIONCgSU_7W_cG9pUOr3ptNocltCLfdnmvV0vrhXP5ZM6bMSMWQfHWHEyVTcHRtV-F3anIt2L1ELiTYgGWscmCN3FXVVnTpf5FuUO2vhSYAijFuuv6F1jEh7rJy9oDF80UYGiYVMXvvLNTOYMpNphhOzJkUrT7JmtvQgSSnm0uXUCXZooN-47PYLtviURpgUUTT_nI4rNepLb-0-WJWhHWckfXGN5fTXcU6kB15wuchk-HEEmfItCO_KRxF3KnZJaGzJOv6ZNCGn80TWoSX94_NED0rkQ=w1032-h500-no
 
Upvote 0
Mới tải cái Add-ins đó về coi mà không biết xài .... Bạn chỉ cho xài với....
Mình nhớ là cài vào. Chọn file cần mã hoá, mình nhớ nó có thể:
- xoá hết comment trong code
- chỉnh code ra dạng tùm lum gì đó cho rối mắt khỏi đọc
- có 1 vài chức năng giống Lockxls nữa thì phải
Mình nhác cài vào rồi vọc ( vì hết ham máy vụ này ) nên có gì bạn vọc nhé ! //**///**/
 
Upvote 0
ủa tôi đọc kỹ lại thấy nó có khai báo mà???
Mã:
Public Const qwertyuiopsdfgwf = "Percent": Public Const qwertyuiopsdfgwg = "#,##0": Public Const qwertyuiopsdfgeq = "OrderTime": Public Const qwertyuiopsdfgew = True: Public Const qwertyuiopsdfgee = ":": Public Const qwertyuiopsdfger = "B7": Public Const qwertyuiopsdfget = 8: Public Const qwertyuiopsdfgey = "B9": Public Const qwertyuiopsdfgeu = 2: Public Const qwertyuiopsdfgei = 9
Public Const qwertyuiopsdfgeo = "B8:B9"
Public Const qwertyuiopsdfgep = "B8:B"
Public Const qwertyuiopsdfges = "8:"
Public Const qwertyuiopsdfged = "9:"
 
Upvote 0
ủa tôi đọc kỹ lại thấy nó có khai báo mà???
Mã:
Public Const qwertyuiopsdfgwf = "Percent": Public Const qwertyuiopsdfgwg = "#,##0": Public Const qwertyuiopsdfgeq = "OrderTime": Public Const qwertyuiopsdfgew = True: Public Const qwertyuiopsdfgee = ":": Public Const qwertyuiopsdfger = "B7": Public Const qwertyuiopsdfget = 8: Public Const qwertyuiopsdfgey = "B9": Public Const qwertyuiopsdfgeu = 2: Public Const qwertyuiopsdfgei = 9
Public Const qwertyuiopsdfgeo = "B8:B9"
Public Const qwertyuiopsdfgep = "B8:B"
Public Const qwertyuiopsdfges = "8:"
Public Const qwertyuiopsdfged = "9:"

có khai báo biến thì vẫn có nguy cơ bị Doveandrose đọc hiểu code rồi anh ơi . như vậy chưa an toàn
anh phải nghĩ cách gì đó mã hóa mà toàn bộ project VBA chỉ gồm 2 từ
"Kiều" và "Mạnh" ví dụ

Kiều Mạnh Mạnh
Mạnh Kiều Kiều Mạnh Kiều
Kiều Kiều Kiều Mạnh Mạnh ........
vậy mới an toàn --=0--=0--=0
 
Upvote 0
có khai báo biến thì vẫn có nguy cơ bị Doveandrose đọc hiểu code rồi anh ơi . như vậy chưa an toàn
anh phải nghĩ cách gì đó mã hóa mà toàn bộ project VBA chỉ gồm 2 từ
"Kiều" và "Mạnh" ví dụ

Kiều Mạnh Mạnh
Mạnh Kiều Kiều Mạnh Kiều
Kiều Kiều Kiều Mạnh Mạnh ........
vậy mới an toàn --=0--=0--=0
Từ từ đi khui ra hết............File này mình nghĩ là của một thành viên GPE ....cao thủ hay sao ấy....đang nấp sau bui cây....chưa lộ diện thôi...--=0--=0--=0
 
Upvote 0
Web KT

Bài viết mới nhất

Back
Top Bottom