Questions tagged [batch]

A plain text file containing a list of commands to be executed in sequence by the command line interpreter.

Filter by
Sorted by
Tagged with
1
vote
2answers
763 views

Is there a secure way to run a bat file from a Java program without command injection vulnerability?

Since using Runtime.exec() and ProcessBuilder trigger command injection vulnerability in static analyzing tools, is there any other recommended secure way to execute a bat file from a Java program? ...
0
votes
2answers
289 views

Have I created some kind of malware? [closed]

I am quite new to this type of stuff and I'm experimenting a little bit. This weekend I had some spare time and decided to joke around with VBScript and powershell. What I did is I wrote a VBScript ...
1
vote
1answer
1k views

Full shell from pingit application [closed]

when I entered 127.0.0.1 the result was:- Pinging 127.0.0.1 with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Ping statistics for 127.0.0.1: Packets: Sent = 4, Received = 4, ...
0
votes
1answer
2k views

How to safely execute batch file viruses for practice?

I'm following a tutorial on fork bomb and thought it was pretty interesting. TL;DR: It's basically just a program that replicates itself until the computer freezes/crashes. I want to see how it ...
-2
votes
1answer
394 views

How to secure batch script with compiler (not compressor) in Windows?

Batch script, a.k.a. bat or cmd, is good - easy to learn, easy to code, easy to use, easy to distrubute. However it lets coders down when they need to achieve something complex in batch script. The ...
1
vote
1answer
329 views

Why would a bat file that just starts a program be considered a virus?

My friend's computer was having a lot of viruses so he wanted me to download an operating system for him. So he gave me a flash memory. When I opened the flash my antivirus (Kaspersky Total Security) ...
1
vote
0answers
263 views

Connect to a wifi through code [closed]

Is there any way a person could write a software using for example C++ to connect to a wifi completely by using code?
0
votes
3answers
581 views

Can a batch file download a file to infect a computer?

Is it possible to write a batch script that can download some code from the web and infect a computer? Can you explain it briefly?
2
votes
1answer
680 views

Authentication for a batch script

It seems amazing that there is no industry accepted best practice for this problem yet (or maybe just one I'm not aware of): What is the most secure way for a batch script, a program needing to ...