Coder Social home page Coder Social logo

onefiletools's Introduction

bin2cpp

Convert binary file to .cpp source file with 'unsigned char[]' inside.

Usage: bin2cpp bin-file [xor-byte] [bytes-per-line] [var-name]

  xor-byte                - Initial value for 'crypt'. Default 0.
  bytes-per-line          - Number of bytes in line. Default 8.
  var-name                - Name of var. Default FILE.

zrun

  • Add PATH to env var 'path' for CMD only.
  • Show UAC if needed.
  • Expand vars like %ProgramFiles% in CMD.
  • Run CMD.
  • Wait if needed.
  • Return ERRORLEVEL (exit code) of CMD (-wait only).
Usage: zrun.exe [-path PATH] [-uac] [-wait] [-hide] CMD

Error codes:

- -1 Unknown error
- -2 CMD used zrun's exit code
- -3 Cannot run CMD
- -4 Cannot elevate CMD

explorertools

Windows Explorer tools. Tested on WinXP-10

Usage: et.exe -r|-e|-s

Actions:
  -r                      - Safe restart.
  -e                      - Safe exit only.
  -s                      - If not running then start.

uac

Show UAC if needed and run CMD. Very small utility.

Usage: uac.exe CMD

gen_vc.cmd

Generate make.cmd file for build with VC++.

Usage: gen_vc.cmd [-vs2017] [-vs2015] [-vs2013] [-vs2012] [-vs2010]
                  [-vs2008] [-x64] [-ansi] [-con] [-xp] [-nocrt]
                  CL_PARAMS [-link LINK_PARAMS]

Example:

call gen_vc.cmd -nocrt -xp src\mcrt.c src\uac.c ^
    -link /out:bin\uac.exe>uac_make.cmd || goto :EOF
    
call gen_vc.cmd -nocrt -xp src\mcrt.c src\uac.c -x64 ^
    -link /out:bin\uac64.exe>uac_make64.cmd || goto :EOF
    
cmd /k uac_make.cmd || goto :EOF
cmd /k uac_make64.cmd || goto :EOF

onefiletools's People

Contributors

ruzzz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

wyrover

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.