knight0x07 / lnk2vbs Goto Github PK
View Code? Open in Web Editor NEWA Python script that embeds Target VBS into LNK and when executed runs the VBS script from within.
License: MIT License
A Python script that embeds Target VBS into LNK and when executed runs the VBS script from within.
License: MIT License
I created a simple vbs file, that would display a simple msg box; Below is it's content-
Set objShell = CreateObject("WScript.Shell")
' Display a simple message box
MsgBox "Hello, World!", vbInformation + vbOKOnly, "Important"
The python script runs good, a .lnk file is generated but on clicking it desired output isn't produced.
Attaching ss for the same!
But on clicking generated lnk file this message box isn't displayed.
When I tried to embed a vbs file having 70-80 lines of code, the integration into the .lnk file is successful! While during runtime when it tries to fetch it , copy it into sys.vbs there the trouble begins!
Like let us say input vbs is-
// Line1 of code.
// Line2 of code.
//Line3 of code.
//Line4 of code.
//Line5 of code.
....
....
....
....
Then the output sys.vbs is-
// Line1 of code.// Line2 of code.//Line3 of code.//Line4 of code.//Line5 of code................
Because of this the execution of sys.vbs(i.e on click of lnk file) throws error like this, which is not the case in input.vbs(p.s it runs as expected)
lnk2vbs.py Cannot be opened,It flashes when I click on it, is there a solution? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.