Search found 57 matches

by hacxx
23 Feb 2020 05:17
Forum: DOS Batch Forum
Topic: execute simple cmd line hidden without file
Replies: 12
Views: 17454

MSHTA execute VBSCRIPT that execute CMD

This is from my coding vault, need some tweaks as it is a bit old... mshta "javascript:document.write('<html><script language=\"VBScript\">Set objShell = WScript.CreateObject(\"WScript.Shell\") : objShell.Run(\"cmd.exe /c calc.exe\"), 0, True</script></html>');close()" It uses JavaScript to start a ...
by hacxx
12 Nov 2018 11:43
Forum: DOS Batch Forum
Topic: Find files and parse them in the command line
Replies: 2
Views: 2929

Re: Find files and parse them in the command line

I'm kinda new into this can you show me an example?
by hacxx
11 Nov 2018 15:01
Forum: DOS Batch Forum
Topic: Find files and parse them in the command line
Replies: 2
Views: 2929

Find files and parse them in the command line

Hi, I'm looking for help with this tool that i'm developing. The tool needs to scan the harddisk looking for DLLs and EXEs and patch them. I tried using the "Find" Command but got a Access Denied. And the folders are not restricted. Also after finding the DLLs and EXEs i need to parse them with anot...
by hacxx
11 Nov 2018 14:55
Forum: DOS Batch Forum
Topic: Creating a small batch program
Replies: 4
Views: 4447

Re: Creating a small batch program

Thanks that really helped
by hacxx
20 Oct 2018 17:57
Forum: DOS Batch Forum
Topic: Creating a small batch program
Replies: 4
Views: 4447

Re: Creating a small batch program

Converting the get request to a string/variable. I don't how to do in cmd

Extract the token, cookie and header from string/variable

Make a POST request and extract the text and the image

Free program to embed images in cmd
by hacxx
20 Oct 2018 16:39
Forum: DOS Batch Forum
Topic: Creating a small batch program
Replies: 4
Views: 4447

Creating a small batch program

Step by step 1) make a get url request using curl 2) save the content of the url in a string/variable 3) extract a few elements from the string/variable 4) Make a post url request with some of the elements in the string/variable [The elements required are cookies, headers and token] 5) Save the res...
by hacxx
09 Aug 2018 13:52
Forum: DOS Batch Forum
Topic: One cmd line with all the code inline
Replies: 7
Views: 6087

Re: One cmd line with all the code inline

So nothing useful Download http://www.mediafire.com/file/b923yn0pc2llliw/IE+Autorun+Exploit+Generator.html Virustotal https://www.virustotal.com/#/file/4a36efe9fb03a52305b85741f62c7a02985ff054b21ffa4259c1fdae31900ddc/detection Download 2 (Works only with Internet Explorer >|11) http://www.mediafire....
by hacxx
09 Aug 2018 02:25
Forum: DOS Batch Forum
Topic: One cmd line with all the code inline
Replies: 7
Views: 6087

Re: One cmd line with all the code inline

Yeah, I'm really unclear on why you're trying to do this outside of it either being homework or you just want to know if it's possible. Also, chaining FTP commands has nothing to do with batch and everything to do with FTP itself. That said, if & didn't work for you, nothing will, since the "correc...
by hacxx
09 Aug 2018 02:24
Forum: DOS Batch Forum
Topic: One cmd line with all the code inline
Replies: 7
Views: 6087

Re: One cmd line with all the code inline

Since nobody replied yet I suspect nobody really understood what you're trying to do. Neither do I. You should post the lines of code that you tried. Maybe it'll get more clear then. Steffen I'm trying to create a file and then execute it cmd /c echo ftp.exe>text.bat & echo open 127.0.0.1>>text.bat...
by hacxx
08 Aug 2018 12:08
Forum: DOS Batch Forum
Topic: One cmd line with all the code inline
Replies: 7
Views: 6087

One cmd line with all the code inline

Hi, I'm trying to build a batch file using just one line for FTP access. For this i'm using "cmd /c" as a starter and then the commands are in front of it. I have tried diferent ways but i can't seem to find a way to make it work. If i try one long string i can't execute it. If i use the ">" to save...
by hacxx
22 Apr 2018 04:44
Forum: DOS Batch Forum
Topic: Changing a reg_sz with a variable id key
Replies: 0
Views: 14464

Changing a reg_sz with a variable id key

Hi,

I want to change the value of a registry key named NameServe using batch. The problem is that each internet interface has his own id. So, how can i get the default id to change this key?

The purpose is only to create a batch to change from my local isp dns to google public dns.

Thanks
by hacxx
04 Aug 2017 12:29
Forum: DOS Batch Forum
Topic: Converting a C/C++ Project to batch
Replies: 4
Views: 6911

Re: Converting a C/C++ Project to batch

Thanks ShadowThief
by hacxx
04 Aug 2017 09:57
Forum: DOS Batch Forum
Topic: Converting a C/C++ Project to batch
Replies: 4
Views: 6911

Converting a C/C++ Project to batch

Hi, I have been wondering for a while if it's possible to convert a c/c++/... language project to batch or any open source language. I want to provide a easy to use program that gives all the freedom to users with the possibility of editing the tool by them. The idea is convert a full c/c++ project ...
by hacxx
01 Jul 2017 05:08
Forum: DOS Batch Forum
Topic: Using batch to make a http request
Replies: 2
Views: 19211

Re: Using batch to make a http request

It really works.
Thanks
by hacxx
30 Jun 2017 03:47
Forum: DOS Batch Forum
Topic: Using batch to make a http request
Replies: 2
Views: 19211

Using batch to make a http request

Hi,

I'm using a external program "curl.exe" to make http requests in a batch script. Is there any method to make http requests using windows system resources. (Without using curl.exe)

Thanks