Topic: New PECMD source  (Read 35245 times)

Re: New PECMD source
« Reply #40 on: February 23, 2016, 04:19:33 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
* PECMD2012.1.88.05.73Stable-160220-x86.7z (1721.55 kB - downloaded 320 times.)

* PECMD2012.1.88.05.73Stable-160220-x64.7z (1809.95 kB - downloaded 303 times.)


Re: New PECMD source
« Reply #41 on: March 19, 2016, 08:31:01 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
* PECMD2012.1.88.05.74Stable-160314x86.7z (1742.91 kB - downloaded 240 times.)

* PECMD2012.1.88.05.74Stable-160314x64.7z (1831.38 kB - downloaded 223 times.)

Re: New PECMD source
« Reply #42 on: March 28, 2016, 12:29:14 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
* PECMD2012.1.88.05.74Stable-160325x64.7z (1831.78 kB - downloaded 225 times.)

* PECMD2012.1.88.05.74Stable-160325x86.7z (1743.44 kB - downloaded 231 times.)

Re: New PECMD source
« Reply #43 on: April 22, 2016, 01:13:04 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
* PECMD2012.1.88.05.75Stable-160420x86.7z (1665.91 kB - downloaded 265 times.)

* PECMD2012.1.88.05.75Stable-160420x64.7z (1752.99 kB - downloaded 280 times.)

Re: New PECMD source
« Reply #44 on: June 20, 2016, 02:31:00 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
* PECMD2012.1.88.05.75Stable-160612x64.7z (1832.32 kB - downloaded 417 times.)

* PECMD2012.1.88.05.75Stable-160612x86.7z (1592.47 kB - downloaded 537 times.)

Re: New PECMD source
« Reply #45 on: November 23, 2016, 06:36:55 PM »

shazza

  • Apprentice
  • *
  • Date Registered: Nov 2016
  • Posts: 7
Hello.Anybody know how can i change hotkey/alt+a/ to another in pecmd.exe?

Re: New PECMD source
« Reply #46 on: July 25, 2017, 05:05:15 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
New version 76 x64 english

* PECMD2012.1.88.05.76Stable-170717-ENx64.7z (2676.57 kB - downloaded 152 times.)
« Last Edit: July 25, 2017, 05:05:52 AM by SIW2 »

Re: New PECMD source
« Reply #47 on: July 25, 2017, 05:07:03 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
New version 76 x86 english

* PECMD2012.1.88.05.76Stable-170717-ENx86.7z (2512.02 kB - downloaded 163 times.)

Re: New PECMD source
« Reply #48 on: July 25, 2017, 06:07:13 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
New version 76 17/7/17.

Smaller than the last post because these do not include Imdisk cab (Indata29 in previous posted version)

* PECMD2012.1.88.05.76Stable-170717ENx64-no-IMD.7z (1682.82 kB - downloaded 189 times.)

* PECMD2012.1.88.05.76Stable-170717ENx86-no-IMD.7z (1587.12 kB - downloaded 154 times.)
« Last Edit: July 25, 2017, 06:11:40 PM by SIW2 »

Re: New PECMD source
« Reply #49 on: August 09, 2017, 01:43:19 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
Version 78 stable

* PECMD2012.1.88.05.78Stable-170727x64-EN.7z (1988.96 kB - downloaded 184 times.)

* PECMD2012.1.88.05.78Stable-170727X86-EN.7z (1892.42 kB - downloaded 186 times.)
« Last Edit: August 09, 2017, 01:43:57 AM by SIW2 »

Re: New PECMD source
« Reply #50 on: September 14, 2017, 02:18:58 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
  changelog:

Code: [Select]
   09.10: Win10PE: PINT processing
   08.26: Win10PE: Win-D Display Desktop SENDMSG? Timeout
   08.10: Captures a TABL scroll bar message
   Pre30: Supports SATA hard disk number
   Pre29: TIPS supports variable comma
   Pre26: REGI supports all types
   Pre22: SIZE/CMPS, etc. Supports quotation marks HELP supports automatic line feed switching
   Pre21: PUTF supports %2
   Pre20: READ/PUTF support variable incoming file name (without quotation marks)
   Pre19: REGI supports REG_LINK
   Pre18: READ support quotation marks
   Pre17: GETF/PUTF/MDIR support quotation marks FNAM/FIND -pid/-wid illegal id also initializes variables
   Pre16: REGI support byte stream, support only create key
   Pre15: REGI Smart Processing!
   Pre14: RICHEDIT supports super capture
   Pre13: RICHEDIT automatically supports ENCHANGE, supports NUM
   Pre12: WRIT write variable
   Pre11: LPOS RPOS SED supports line number and reverse
   Pre10: MOUN-UDM mapsub supports hard disk files
   Pre6: MESS Negative timeout does not show the progress of time
   Pre5: SEND @@ can be sent by window type name SHEL restart interface SCRN-cap file file memory reduction SERV support service settings


* PECMD2012.1.88.05.78Stable-170910x64.7z (1698.87 kB - downloaded 263 times.)

* PECMD2012.1.88.05.78Stable-170910x86.7z (1602.02 kB - downloaded 394 times.)
« Last Edit: September 15, 2017, 04:33:08 PM by SIW2 »

Re: New PECMD source
« Reply #51 on: September 14, 2017, 10:45:24 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Thanks SIW2 for sharing the pecmd en here  :thumbsup:
Win+D, also done in fixscreen, we have the belt and suspenders.
It's good to have pecmd PINT also available.

Re: New PECMD source
« Reply #52 on: September 14, 2017, 05:49:57 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
PECMD mount VHD right-click menu

pecmd.ini

Code: [Select]
_SUB RegVHDPecmd
  ENVI ?&&WinVer=WinVer
  IFEX #%&WinVer%>=0x600000000,
  {
    ENVI^ EnviMode=1
    REGI HKCR\Virtual.Machine.HD.PECMD\Shell\\=
    REGI $HKCR\Virtual.Machine.HD.PECMD\Shell\1Mount\\=MOUNT VHD(&M)
    REGI $HKCR\Virtual.Machine.HD.PECMD\Shell\1Mount\command\\=PECMD MOUN-vhd "%%L"
    REGI $HKCR\Virtual.Machine.HD.PECMD\Shell\2RMount\\=Read Only Mount VHD(&R)
    REGI $HKCR\Virtual.Machine.HD.PECMD\Shell\2RMount\command\\=PECMD MOUN-vhd -r "%%L"
    REGI $HKCR\Virtual.Machine.HD.PECMD\Shell\3Dismount\\=Unmount VHD(&D)
    REGI $HKCR\Virtual.Machine.HD.PECMD\Shell\3Dismount\command\\=PECMD MOUN-vhd -u "%%L"
    REGI $HKCR\.vhd\\=Virtual.Machine.HD.PECMD
  }
_END

« Last Edit: September 15, 2017, 04:34:15 PM by SIW2 »

Re: New PECMD source
« Reply #53 on: December 14, 2017, 03:45:29 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
[ Specified attachment is not available ]

* PECMD2012.1.88.05.79Stable-171206x86-EN.zip (2426.81 kB - downloaded 477 times.)
« Last Edit: December 14, 2017, 03:48:34 PM by SIW2 »

Re: New PECMD source
« Reply #54 on: July 08, 2018, 06:20:46 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
Some a/vs have a problem with the "Little Giant" pecmd x86. It might be the packing  - though It doesn't seem to be a problem with x64  :confused:

I just uploaded a larger x86 to virustotal and got 1 / 59 FP. Maybe that is the way to go?

Re: New PECMD source
« Reply #55 on: July 08, 2018, 06:35:34 PM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
I think that is the right track.  Thank you for looking at this.  :thumbsup:  ChrisR is doing the same thing and referencing you for confirmation, for detection issues for other files as well --> http://theoven.org/index.php?topic=2421.msg27100#msg27100
« Last Edit: July 08, 2018, 06:38:09 PM by bob.omb »

Re: New PECMD source
« Reply #56 on: July 08, 2018, 07:09:05 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
I have 2 versions of x86 now.

The larger x86 pecmd.exe ( 1/66 on vrustotal)

* PECMD2012.1.88.05.82Stable-180148-x86-ENMOD.zip (1082.76 kB - downloaded 440 times.)

Alternatively there is the dll version (0/54 on virustotal) which you can run via the small exe ( included in the zip)

* PECMD2012.1.88.05.82Stable-180148-x86-ENMOD-DDL-VERSION.zip (2181.06 kB - downloaded 382 times.)
« Last Edit: July 30, 2018, 01:47:55 AM by SIW2 »

Re: New PECMD source
« Reply #57 on: November 05, 2019, 03:56:51 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
Davies seems to have reappeared after a long absence, which is good news.  :thumbsup:
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=330493&page=2140#pid3875015

Quote
Mdyblog posted on 2019-10-30 11:58
What needs to be changed in PECMD? Please report it.
« Last Edit: November 05, 2019, 04:04:53 AM by SIW2 »

Re: New PECMD source
« Reply #58 on: December 10, 2019, 09:09:48 PM »

cdob

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 44
PECMD can replace all of these and any other bits and bobs winbuilder has for loading/controlling.

MountPEmedia.exe
I like the PESE ISO mount feature from MountPEmedia.exe
This uses imdisk historically, there is no native ISO mount at Win7.
10XPE can mount a ISO file natively, no addional driver required. Hit the ISO file at exporer.

As for testing: booting a Win10XPE I can mount a wim file.
Good, the wim file is searched at different devices.
set PF=C:\temp\mount
PECMD MOUN \_ISO\WinPE\Win10XPE_x64.wim,%PF%,1

I don't understand the pecmd online help. Is ISO file mounting supported?
Does pecmd uses imdisk.exe or virtdisk.dll to mount the ISO?
MOUN -udfs -udm- -mall -udimg: *.img -udimg: *.iso  -udmask: 0xA0001 \\.\PhysicalDrive1 R-

How to mount a ISO file? This failed:
pecmd  MOUN \_ISO\WinPE\Win10XPE_x64.iso,Y:
pecmd  MOUN-udfs \_ISO\WinPE\Win10XPE_x64.iso,Y:
pecmd  MOUN-udfs \_ISO\WinPE\Win10XPE_x64.iso,%PF%

I like ot repace the pecmd.ini line. How to do this within a pecmd command?
//EXEC =!%WinDir%\System32\cmd.exe /V:ON /C "set IsoName=\_ISO\WinPE\Win10XPE_%PROCESSOR_ARCHITECTURE:AMD=x%.ISO &for %a in (C D E F G H I J K L M N O P Q R S T U V W Y Z) do if exist %a:!IsoName! Explorer.exe %a:!IsoName! "
EXEC =!%WinDir%\System32\cmd.exe /V:ON /C "set IsoName=\_ISO\WinPE\Win10XPE_%PROCESSOR_ARCHITECTURE:AMD=x%.ISO &for %a in (C D E F G H I J K L M N O P Q R S T U V W Y Z) do if exist %a:!IsoName! imdisk.exe -a -f %a:!IsoName! -m Y: "

Re: New PECMD source
« Reply #59 on: December 10, 2019, 10:47:15 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
There is a lot I don't understand.

I think it does use imdisk.

Quote
EXEC =!%WinDir%\System32\cmd.exe /V:ON /C "set IsoName=\_ISO\WinPE\Win10XPE_%PROCESSOR_ARCHITECTURE:AMD=x%.ISO &for %a in (C D E F G H I J K L M N O P Q R S T U V W Y Z) do if exist %a:!IsoName! imdisk.exe -a -f %a:!IsoName! -m Y: "

You could probably use FORX for some of that


ENVI ISOARCH=x86

FIND $%PROCESSOR_ARCHITECTURE%=AMD64,ENVI ISOARCH=x64

then use
FORX \_ISO\WINPE\win10xpe_%ISOARCH%.iso

demo.ini

Code: [Select]
_SUB RecordFile
ENVI ListFile=%ListFile%|%somefile%
IFEX $%FileNum%=0,ENVI lf=%somefile%|CALC FileNum=%FileNum%+1!ENVI lf=%lf%|%somefile%
_END

_SUB Windows1,W400H200,Inventory
EDIT Edit1,L0T0W370H20,%ListFile%
LIST List1,L0T20W100H20,%ListFile%,ENVI @Edit1=%List1%,%lf%
_END

ENVI ListFile=
ENVI ISOARCH=x86
FIND $%PROCESSOR_ARCHITECTURE%=AMD64,ENVI ISOARCH=x64
FORX \_ISO\WINPE\win10xpe_%ISOARCH%.iso,somefile,0,CALL RecordFile

CALL @Windows1
« Last Edit: December 12, 2019, 02:09:40 AM by SIW2 »

 

Powered by EzPortal