Are you able to run the exe file in the link below? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Are you able to run the exe file in the link below?

I have a code, but I am unable to determine if the exe can be run by others without compiling, i.e. if its standalone or not. Please run the code on your PCs if you have time and let me know if it ran for you or not. Here is the link : https://drive.google.com/drive/folders/0B1zDeW2sXou9V2xUNVZxWDA2MjQ?usp=sharing From the code : https://code.sololearn.com/csiL5c740T2m/?ref=app I can assure you that the code is safe, and if any harm was done, I am ready to pay a compensation...

2nd Oct 2017, 4:24 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
25 Answers
+ 15
Thanks a bunch my friend for you beautiful respond. Of course, it's necessary to inform people of various risks that you already mentioned and I guess most of us (including Kinshuk) well-aware of them. But I guess you could ask for source code rather than criticising about random people or something. BTW, there's no disrespect for your consideration. I say thank you on my behalf.
2nd Oct 2017, 4:59 PM
Babak
Babak - avatar
+ 13
Dear Netkos Ent Slow down a bit my friend. We are not here for confrontation. If you can't help then don't be harsh towards our friend. His knowledge is more than you in some cases.
2nd Oct 2017, 4:33 PM
Babak
Babak - avatar
+ 13
In fact, I'm sorry for being attackful. Good luck, my friend.
2nd Oct 2017, 5:14 PM
Babak
Babak - avatar
+ 13
I'm so glad! Welcome to the Linux family! :)))
21st Oct 2017, 2:30 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 12
If it's a .exe, then it's already an executable. Also, there is no way in hell I would run any .exe that a random stranger on the internet supplied. As for anyone else reading this that is learning, it's bad practice to go to random places on the internet, download .exe, and then run them. Most of the time you're being scammed by someone or someone is trying to embed things into your computer, whether for simple malicious destruction or mining data from you. Anyways, point is, if you don't know the person, don't do it. If you don't know security, take time and learn it. @Kinshuk If you want to know if it runs, then click it yourself and see if it runs. Disclaimer: I'm not saying that's what you are or are not doing.
2nd Oct 2017, 4:32 PM
AgentSmith
+ 12
I suggest you to delete it, and start again. Follow this tutorial: https://www.youtube.com/watch?v=CkDd6jClqEE You know that you can run .exe in Linux only through Wine or similar emulator? Btw, your code works fine in Windows 7 in VM. Well done! Good luck in the competition! https://i.imgur.com/5LPIjJt.jpg :)
17th Oct 2017, 3:00 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 8
@Babak Me and Kinshuk have an understanding, and both understand the security risk associated with this and the internet. We're on a website that is full of NEW people to the technology field, so it was a necessary post to make to ensure that they're wise enough before just clicking/downloading random .exe from people, especially here. If we teach them that it's okay to do that, they'll regret it later when they allow every hacker into their house without a second thought about their security. In no way was I being confrontational to Kinshuk, nor did I say anything bad about him. I even posted a disclaimer at bottom to ensure that it's known I'm not implying that he is or isn't doing something of that nature. Nothing more than a warning to new people here so they don't get tricked by such things, which is necessary and helpful to them. Since we're here analyzing what others say though, then lets point out the uselessness of your post in comparison. As well, lets point out what confrontational means and who all here is partaking in such. My post was a warning to new people and I disclaimed that it wasn't an attack on the poster. If someone posted that they received an email from the Prince of Nigeria and they're going to send them millions if they reply with their bank information, then I would show the same respect and try to save them from putting their security at risk. @Kinshuk I'd be more than happy to help you with that. Is this a program you created? Also, when you obtained it, did you have to install anything or did it just open right up for you? If it opened right up without install, installing something else, or adding registry entries, then your program is stand-alone. Otherwise, it's not stand-alone if it requires any external libraries or things of that sort which need to be installed. PS - I've no idea who Russel is, but it's horrible practice by any professional's standards for the internet. For example, imagine that I create some virus/backdoor/keylogging software and made a post l
2nd Oct 2017, 4:46 PM
AgentSmith
+ 8
@Babak Indeed, many of us are certainly aware of security, but many of the people coming here aren't on that level yet and are susceptible to such things. I merely mentioned that I personally wouldn't do it, and then I explained to the new people why I would have such a stance on it. However, if either of you feel I was being critical or criticizing, then I apologize if I offended either of you, as that wasn't my intention. I wish each of you the best.
2nd Oct 2017, 5:05 PM
AgentSmith
+ 7
@Netkos Ent You're completely right. Im sorry. But alleast you can help me by telling me how can I check if an exe file is standalone? You see, I have submitted a code for a competition, GSC6. But, since it is of Beyond Sololearn category, I was asked to provide an exe as well. But now, I am unable to see if other people can run this exe file properly. And then, can you also tell me why Russel wants people to submit exe files here? https://www.sololearn.com/discuss/750528/?ref=app
2nd Oct 2017, 4:37 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 7
kinshuk, you can install a virtual machine and do all your tests there
2nd Oct 2017, 8:55 PM
Kustaa
+ 6
@Kinshuk Thanks for updating the original post with the code also. When I get off work I'll test this out for you and let you know how it went. Btw, if I came off harsh, then I certainly apologize if it offended you. I've spent a lot of time in security, so try to understand where my intent was coming from with it, as it's a major problem in the world, especially with how the internet is set up. I would want to protect you just as well. Many people here don't have the knowledge/experience yet to protect themselves from such things.
2nd Oct 2017, 4:58 PM
AgentSmith
+ 6
@Ace Sir, this exe file was shared for the GSC6. All Beyond Sololearn codes were to be supplied with an exe file. I just posted to verify if my link was accessible. Im sorry I did that. I am sorry, if my actions or posts have caused any inconvenience to you or any Sololearn member.
17th Oct 2017, 5:11 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 5
@Netkos Ent Thank You for your answers. I have created the program myself, and have even tried to compile it statically... I checked the exe using Dependency Walker and Program Explorer, and all the related dlls were from C:\Windows\System32
2nd Oct 2017, 4:46 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 5
@Gustavo Gauthier Hmm, Ill try doing that, as I have never heard of this before...
3rd Oct 2017, 1:08 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 5
Kinshuk. VMs are fantastic. You can have a lot of different environments to test your stuff. See, amigo: https://www.virtualbox.org/ Pretty cool.
3rd Oct 2017, 1:00 PM
Kustaa
+ 5
Kinshuk, VMs are this cool: I'm writing this from an Android VM, running on a Windows 7 VM. As for the setup, first you need to get a couple of ISOs containing the OS that you want to install.You can google that. And as for Android, I'm using Bluestacks, because Android Studio won't run on a VM. But you can try that one if you're not using a VM. edit: do not worry about the environment. it wont access your local machine. the VM is just as different as a physical one.
3rd Oct 2017, 1:35 PM
Kustaa
+ 5
@Gustavo Gauthier I am currently trying to create a linux VM (ubuntu 17.04) in my Windows 7 PC and have downloaded the iso. I tried creating the VM, and then linked the .iso file, but on running it, I get an error - uncompression failed --system halted Why do I get this error? Is there some way I can sucessfully run the OS ? Please help me.
17th Oct 2017, 2:15 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 5
@dplusplus Thanks for letting me know! ^_^ Ill try the steps in the video.
17th Oct 2017, 3:03 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 5
@Gustavo Gauthier I just downloaded the .iso image again and tried the steps in the video shared by dplusplus and fortunately, it worked. In fact, I am sending this message from the Ubuntu OS running as a Virtual Machine in my PC. Thanks for telling me about VMs! @dplusplus Thanks for the video! I tried it and it worked. Thanks!
19th Oct 2017, 3:54 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 4
Russel was saying to post your code into the code playground, not a link to an external website that has an .exe on it. What does your program do? When you created it, did you use any external DLLs or use any other external libraries? If you didn't use any external libraries or DLLs, then it's more than likely stand alone. If it all relates back to core System32 files, then anyone on the platform should be able to easily run it.
2nd Oct 2017, 4:51 PM
AgentSmith