Search found 493 matches

by npocmaka_
19 May 2020 13:28
Forum: DOS Batch Forum
Topic: pktmon.exe
Replies: 7
Views: 120

Re: pktmon.exe

Very useful and very dangerous at the same time as a compromised system on a network can now automatically hack the network with the right batch file. :shock: That's a bit misleading. You can snoop on traffic, but you can't inherently do anything with it. It's like Wireshark. But in the article, th...
by npocmaka_
19 May 2020 04:13
Forum: DOS Batch Forum
Topic: pktmon.exe
Replies: 7
Views: 120

pktmon.exe

There's a new command line tool in windows 10 that I've missed and looks interesting:

https://www.bleepingcomputer.com/news/m ... ow-to-use/
by npocmaka_
29 Apr 2020 07:41
Forum: DOS Batch Forum
Topic: Can SET be filled by a command?
Replies: 6
Views: 1029

Re: Can SET be filled by a command?

the common way is to use for /f:

Code: Select all

for /f "tokens=* delims=" %%# in ('myapp.exe input.pdf') do set "count=%%#"
echo %count%
by npocmaka_
28 Apr 2020 02:28
Forum: DOS Batch Forum
Topic: more tricks with certutil
Replies: 10
Views: 5311

Re: more tricks with certutil

downloading files with certutil is no more possible: certutil.exe -urlcache -split -f "https://download.sysinternals.com/files/PSTools.zip" pstools.zip As certutil has access to sensitive directories it was able to download (and overwrite) files in system directories this way of downloading is now t...
by npocmaka_
18 Apr 2020 10:19
Forum: DOS Batch Forum
Topic: mshta and javascript
Replies: 31
Views: 25066

Re: mshta and javascript

The code you've posted will work. But calling it without 'dedicated' file will not. Try this snipped by dbenham: @echo off setlocal :: Define simple macros to support JavaScript within batch set "beginJS=mshta "javascript:close(new ActiveXObject('Scripting.FileSystemObject').GetStandardStream(1).Wri...
by npocmaka_
18 Apr 2020 03:16
Forum: DOS Batch Forum
Topic: mshta and javascript
Replies: 31
Views: 25066

Re: mshta and javascript

Unfortunately GetObject("winmgmts:") does not work anymore from mshta and is detected as a thread :( . I'm almost sure some naughty boy has read this thread and use it to do some bad things .
by npocmaka_
18 Apr 2020 01:39
Forum: DOS Batch Forum
Topic: command prompt in windows 10
Replies: 37
Views: 16736

Re: command prompt in windows 10

Squashman wrote:
17 Apr 2020 16:55
ShadowThief wrote:
17 Apr 2020 15:46
I knew we had gotten curl and ssh, but tar is a nice surprise
I found TAR and CURL but I don't have SSH.
You can enable it with powershell or dism:

https://docs.microsoft.com/en-us/window ... l_firstuse
by npocmaka_
17 Apr 2020 14:08
Forum: DOS Batch Forum
Topic: command prompt in windows 10
Replies: 37
Views: 16736

Re: command prompt in windows 10

TAR and CURL are now part of windows 10 - https://techcommunity.microsoft.com/t5/ ... a-p/382409
by npocmaka_
04 Apr 2020 06:30
Forum: DOS Batch Forum
Topic: does this happen only to me?
Replies: 4
Views: 903

Re: does this happen only to me?

Ok.

Thanks for the replies.
by npocmaka_
03 Apr 2020 08:55
Forum: DOS Batch Forum
Topic: does this happen only to me?
Replies: 4
Views: 903

Re: does this happen only to me?

Ok. Happens when i Use "legacy console" from the properties and the command help uses "press any key to continue"
by npocmaka_
03 Apr 2020 06:37
Forum: DOS Batch Forum
Topic: does this happen only to me?
Replies: 4
Views: 903

does this happen only to me?

when I try to print the help message of setlocal in the console it crashes.

windows version - 10.0.18363.752 x64, version of the cmd.exe - 10.0.18362.449

This could be a known issue but I'm seeing it now.
by npocmaka_
07 May 2019 02:37
Forum: DOS Batch Forum
Topic: command prompt in windows 10
Replies: 37
Views: 16736

Re: command prompt in windows 10

Microsoft unveils Windows Terminal, a new command line app for Windows
by npocmaka_
09 Feb 2019 14:21
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 7281

Re: Download and unzip file Batch

Check this and this
by npocmaka_
28 Nov 2018 13:31
Forum: DOS Batch Forum
Topic: CSV.BAT - CSV file manipulation with SQL syntax
Replies: 33
Views: 14821

Re: CSV.BAT - CSV file manipulation with SQL syntax

rojo wrote:
28 Nov 2018 12:59
Squashman wrote:
27 Nov 2018 14:10
npocmaka_ wrote:
27 Nov 2018 13:42
It would be useful if you can use/create a custom schema file in order to handle other data types than string.
I thought Rojo explained how to do that in this thread because I had asked him about it.
I think he did. viewtopic.php?p=43562#p43562
Thanks.