Skip to content

JamoCA/cfExec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfExec

cfExec

ColdFusion CFC wrappers for 91 command-line tools. Each program gets a typed CFC interface that handles execution via CFExecute, version detection, and metadata access.

Live demos and documentation are online at www.cfExec.com - browse every tool, see worked examples, and run "try it" demos in the browser.

Installation

Drop the CFCs/ directory into your project. No package manager needed.

// Quick start
curl = new CFCs.Curl();
result = curl.get(url="https://httpbin.org/get");
writeOutput(result.output);

Executables without an absolute path default to c:\cli\. Pass a custom exePath to the constructor if your tools live somewhere else.

Configuration

Each CFC constructor accepts:

Parameter Default What it does
exePath Varies per tool Full path to the executable
timeout 30 Seconds before execution times out
useCFXExec false Use the CFX_EXEC tag instead of cfexecute
runAsUser (empty) Windows username for impersonation
runAsPassword (empty) Password for impersonation
runAsDomain (empty) Domain for impersonation

Programs

Admin

Program Description Docs
appcmd Used to manage IIS. ie, recycle a Windows appPool docs
taskkill Ends one or more tasks or processes. Processes can be ended by process ID or ... docs
WMIC Windows Management Instrumentation Command: Allows Windows local system admin... docs

Archive

Program Description Docs
7-Zip File archiver with a high compression ratio docs
HTTrack Website copier. Create a local copy of a dynamic website (basic spidering) docs
Monolith Save complete web pages as a single HTML file docs

Cloud

Program Description Docs
Rclone Manage files on over 70 different cloud storage products docs
S3Express Copy, query, backup multiple files to S3 using the Windows command line docs
WinSCP Open source free SFTP client, FTP client, WebDAV client, S3 client and SCP cl... docs

Converter

Program Description Docs
html2markdown Converts HTML to Markdown via stdin/stdout, files, or glob patterns, with Com... docs
Pandoc Universal document converter (over 60 document formats) docs
WKHTMLTOPDF Render HTML file to PDF docs

Database

Program Description Docs
Database .NET Innovative, powerful and intuitive multiple database management tool With it ... docs
DbVisualizer Everything you need to build, manage and maintain state-of-the-art database t... docs
DuckDB In-process analytical SQL database with a fast CLI for querying CSV, Parquet,... docs
OctoSQL Query tool that joins, analyzes, and transforms data from multiple databases ... docs
SQLite small, fast, self-contained, high-reliability, full-featured, SQL database en... docs

File Search

Program Description Docs
Diskus Computes the total size of the current directory (3-10 times faster) docs
FD A simple, fast and user-friendly alternative to 'find' docs
FileList Create lists of directory contents and file properties docs
FileLocator Pro Fast, multi-threaded searches, supports Outlook PST/MSG searching and provide... docs
grepWin Regular expression search and replace for Windows docs
HashConsole Quickly generate more than 15 different type of hashes. (May be offline; webs... docs
Nirsoft SearchMyFiles Alternative to 'Search For Files And Folders' module of Windows + Duplicates ... docs
ripgrep (rg) Recursively searches directories for a regex pattern while respecting your gi... docs
TrID Identify file types from their binary signatures using an extensible definiti... docs

File System

Program Description Docs
Bulk Rename Command Rename files and entire folders based upon extremely flexible criteria docs
DeleteFiles Windows utility to delete files and folders recursively with support for deep... docs
FastCopy Small, exceptional tool among applications designed for file transfer operati... docs
Find and Replace (FNR) Find and replace text in multiple files. It can quickly search through large ... docs
gsar (General Search and Replace) Utility for searching for and optionally replacing strings in both text and b... docs
Robocopy Free file copy tool included with Windows OS docs

Image

Program Description Docs
caesiumclt Lossy/lossless image compression tool docs
GraphicsMagick Commandline tools for manipulating, editing, and converting raster & vector i... docs
ImageMagick Resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sampl... docs
Pingo Experimental lossless & lossy image optimizer (PNG, JPEG, WebP, APNG) designe... docs
Tesseract OCR Open source text recognition (OCR) Engine to extract printed text from images. docs
WKHTMLTOIMAGE Render HTML file to an image (part of WKHTMLTOPDF) docs
Zint Complete cross-platform open source barcode generating solution docs

Metadata

Program Description Docs
ExifTool Read, write & edit meta information in a wide variety of files. (Credit: Stev... docs
Exiv2 Manage image Exif, IPTC & XMP metadata and the ICC Profile embedded metadata docs
Kid3 Edit the ID3v1 & ID3v2 tags in MP3 files in an efficient way docs
MediaInfo Convenient unified display of the most relevant technical and tag data for vi... docs
PDFInfo Converts PDF to HTML (Part of XPDF) docs

Network

Program Description Docs
aria2 Lightweight multi-protocol & multi-source, cross platform download utility. docs
cURL Command line tool and library for transferring data with URLs docs
CyberDuck CLI Download, upload & copy between servers with FTP, SFTP or WebDAV. docs
dog DNS client, like dig. docs
Globalping CLI Access a global network of probes to run ping, mtr, traceroute, DNS, and HTTP... docs
http-ping similar to the popular ping utility, but works over HTTP/S instead of ICMP, a... docs
Obscura Lightweight headless browser engine written in Rust for web scraping and AI a... docs
trurl Command line tool for URL parsing, manipulation, and output - a companion to ... docs
Wget Retrieves files using HTTP, HTTPS and FTP protocols. docs

PDF

Program Description Docs
Foxit Reader Small, fast, and feature-rich PDF Reader to view, annotate, form-fill, and si... docs
Ghostscript Postscript and PDF interpreter/renderer docs
PDFCPU PDF processing library written in Go that supports encryption. docs
PDFDetach Extracts attached files from PDF files (Part of XPDF) docs
PDFFonts Lists fonts used in PDF files (Part of XPDF) docs
PDFImages Extracts raw images from PDF files (Part of XPDF) docs
PDFtk Server Server-side processing of PDF docs
PDFToHTML Converts PDF pages to PNG image files (Part of XPDF) docs
PDFtoPNG Extracts raw images from PDF files (Part of XPDF) docs
PDFtoText Converts PDF to text (Part of XPDF) docs
qPDF A content-preserving PDF document transformer docs

Runtime

Program Description Docs
Adobe ColdFusion CLI Run cfm scripts without starting the ColdFusion server. Pass absolute or posi... docs
BoxLang For the Java Virtual Machine (JVM) giving you tons of Object-Oriented (OO), F... docs
CommandBox Standalone, native and tool for Windows, Mac, and Linux that will provide you... docs
Java A free and open-source implementation of the Java Platform docs
JCMD Supports Java by sending diagnostic commands to running JVMs for troubleshoot... docs
Node.js JavaScript runtime environment docs
Python Programming language that lets you work quickly & integrate systems more effe... docs
Ruby Interpreted object-oriented programming languag docs

Security

Program Description Docs
Bitwarden Powerful, fully-featured tool for accessing and managing your vault. docs
Gitleaks SAST tool that scans git repositories, files, and stdin for hardcoded secrets... docs
SSL Labs Scan Command-line client for the Qualys SSL Labs API that grades the SSL/TLS confi... docs
TruffleHog A secrets scanning tool that digs deep into your code repositories to find se... docs

System

Program Description Docs
duf Disk Usage/Free Utility docs
Fastfetch Neofetch-like tool for fetching system information and displaying it in a vis... docs
PsTools PsExec A light-weight telnet-replacement that lets you execute processes on other sy... docs
PsTools PsKill Terminates processes on a local or remote Windows computer docs
SCHTASKS Schedules commands and programs to run periodically or at a specific time, ad... docs
SysInternals SigCheck Shows file version number, timestamp information, and digital signature detai... docs

Text

Program Description Docs
cloc Counts blank lines, comment lines, and physical lines of source code in many ... docs
CSVFileView Tab-delimited file viewer and converter docs
JQ Lightweight and flexible command-line JSON processor docs
Markdown Monster An extensible Markdown Editor, Viewer and Weblog Publisher for Windows. Comma... docs
Miller Like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, an... docs
tabspace Converts tabs to spaces or spaces to tabs automatically in files. docs
yq YAML, JSON, XML, CSV, TOML and properties processor docs

stats

Program Description Docs
hyperfine A command-line benchmarking tool. docs
Tokei Displays statistics about your code. docs

License

MIT

About

ColdFusion CFC wrappers for 91 command-line tools, executed via cfexecute

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors