404
+ +Page not found
+ + +diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..0a6ed97 --- /dev/null +++ b/404.html @@ -0,0 +1,155 @@ + + +
+ + + + +Page not found
+ + +Contributions are welcome! Here’s how you can get involved:
+git clone https://github.com/Timmoth/aid-cli.git
+
git checkout -b my-feature-branch
+
git commit -m 'Add some feature'
+
git push origin my-feature-branch
+
aid bits eval <EXPRESSION> Evaluates a bitwise expression, converts base, visualize binary / display info
+ -i, --info Output the bitboard representation.
+ -c, --chess Output the chess bitboard representation.
+ -b, --bin Output the result in binary.
+ --hex Output the result in hex.
+
+-----input-----
+aid bits eval 0b1001
+-----output-----
+9
+
+-----input-----
+aid bits eval --hex 0b10101001
+-----output-----
+a9
+
+-----input-----
+aid bits eval --bin 0xa9
+-----output-----
+10101001
+
+-----input-----
+aid bits eval --bin '0xa9 << 2 | (0b1010 & 7)'
+-----output-----
+1010100110
+
+-----input-----
+aid bits eval --info '!((0b11110000 ^ 0b00001111) << 8)'
+-----output-----
+FF | 1 1 1 1 1 1 1 1
+FF | 1 1 1 1 1 1 1 1
+FF | 1 1 1 1 1 1 1 1
+FF | 1 1 1 1 1 1 1 1
+FF | 1 1 1 1 1 1 1 1
+FF | 1 1 1 1 1 1 1 1
+00 | 0 0 0 0 0 0 0 0
+FF | 1 1 1 1 1 1 1 1
+ -----------------------
+ 7 6 5 4 3 2 1 0
+dec: 18446744073709486335
+hex: FFFFFFFFFFFF00FF
+bin: 1111111111111111111111111111111111111111111111110000000011111111
+lsb: 0
+msb: 63
+set bits: 56
+
+-----input-----
+aid bits eval --chess '!(0xFEFEFEFEFEFEFEFE << 8)'
+-----output-----
+8 | 1 0 0 0 0 0 0 0
+7 | 1 0 0 0 0 0 0 0
+6 | 1 0 0 0 0 0 0 0
+5 | 1 0 0 0 0 0 0 0
+4 | 1 0 0 0 0 0 0 0
+3 | 1 0 0 0 0 0 0 0
+2 | 1 0 0 0 0 0 0 0
+1 | 1 1 1 1 1 1 1 1
+ -----------------------
+ A B C D E F G H
+dec: 72340172838076927
+hex: 1010101010101FF
+bin: 100000001000000010000000100000001000000010000000111111111
+lsb: 0
+msb: 56
+set bits: 15
+
aid cpu info Show CPU information
+ -j, --json Output CPU information in JSON format.
+
+-----input-----
+aid cpu info
+
+-----output-----
+AMD Ryzen 9 5900HX with Radeon Graphics
+
aid cpu usage Monitor CPU usage
+ -w, --watch Continuously monitor CPU usage.
+ -j, --json Output CPU usage in JSON format.
+ -p, --plot Plot total % cpu usage.
+
+-----input-----
+aid cpu usage -w -p
+
+-----output-----
+total: 6.0%, cpus: 18.6%, 2.3%, 12.7%, 1.6%, 11.2%, 7.0%, 8.7%, 1.5%, 6.5%, 1.4%, 5.0%, 1.9%, 6.1%, 1.9%, 3.7%, 5.4%
+plot: total cpu %
+X range: [27, 56]
+Y range: [4.8092117, 23.36589]
+ *
+
+ *
+ *
+ *
+
+ * *
+ * *
+ *
+ * *
+ *
+ *** * *
+ * * * *
+ ** * *
+ * * **** *
+ ** * *****
+ ***** ** * ** *
+* ** * *** * ** *
+ **** ** ** * * ** ** ***
+ ** *** **************
+
aid csv search Sql search over csv
+ -s, --sql <SQL> Sql query e.g SELECT 'first name',age FROM people.csv WHERE age >= 25 AND age < 30 ORDER BY 'age' ASC.
+ -o, --output <OUTPUT> Output file path.
+
+-----input-----
+aid csv search -s "csv search -s "SELECT Platform,COUNT(Name) FROM vgsales.csv GROUP BY Platform ORDER BY COUNT(Name) DESC"
+-----output-----
+Platform,COUNT(Name)
+DS,2163
+PS2,2161
+PS3,1329
+Wii,1325
+X360,1265
+PSP,1213
+PS,1196
+PC,960
+XB,824
+GBA,822
+GC,556
+3DS,509
+PSV,413
+PS4,336
+
aid disk info Show disk information
+ -j, --json Output disk information in JSON format.
+
+-----input-----
+aid disk info -j
+-----output-----
+[
+ {
+ "available_gb": 52.2,
+ "total_gb": 936.2,
+ "percent_free": 5.6,
+ "file_system": "NTFS",
+ "mount_point": "C:\\",
+ "removable": false,
+ "kind": "SSD"
+ }
+]
+
aid file info prints file metadata
+ -f, --file <FILE> file path.
+
+-----input-----
+aid file info -f .\README.md
+-----output-----
+Type: File
+Size: 5582 bytes
+Permissions: Read-only: false
+Modified: 2024-10-21 20:52:25.0 +00:00:00
+Accessed: 2024-10-21 20:52:25.0 +00:00:00
+Created: 2024-10-18 20:45:22.0 +00:00:00
+
aid file md5 calculates the files Md5 checksum
+ -f, --file <FILE> file path.
+
+-----input-----
+aid file md5 -f .\README.md
+-----output-----
+7d417daec5c2663c7a224297d1fc9d95
+
aid file sha1 calculates the files Sha1 checksum
+ -f, --file <FILE> file path.
+
+-----input-----
+aid file sha1 -f .\README.md
+-----output-----
+aaaa9aa5119da904c84eca8b0a1db46947732737
+
aid file sha256 calculates the files Sha256 checksum
+ -f, --file <FILE> file path.
+
+-----input-----
+aid file sha256 -f .\README.md
+-----output-----
+06e033f7ca19a5ef5a1be805a41dec6bd5b36cfdd231d6d3959373d6d4fe7ae7
+
aid file zip zips the files in the source directory
+ -d, --dir <DIRECTORY> file path.
+ -f, --file <FILE> output zip file.
+
+-----input-----
+aid file zip -dir ./src ./src.zip
+-----output-----
+Successfully zipped directory './src'
+
aid http req Make a HTTP request
+ -m, --method <METHOD> Specify the HTTP method (e.g., GET, POST).
+ -u, --url <URL> Specify the URL for the HTTP request.
+ -c, --config <CONFIG> Path to a configuration file for the request. Specify: method, url, body, headers in json format.
+ -o, --output <OUTPUT> If specified saves http response body to a file at the given path.
+
+-----input-----
+aid http req -m GET -u https://dog-api.kinduff.com/api/facts
+-----output-----
+{
+ "facts": [
+ "The U.S. has the highest dog population in the world. France has the second highest."
+ ],
+ "success": true
+}
+
aid http serve Start a HTTP server (GET: 0.0.0.0:80 -> 'Hello, World!')
+ -p, --port <PORT> Specify the port for the HTTP server (default is 80). [default: 80]
+
+-----input-----
+aid http serve
+-----output-----
+Server listening on http://0.0.0.0:80
+
aid ip local Show my local IP address
+ -j, --json Output the local IP address in JSON format.
+
+-----input-----
+aid ip local
+-----output-----
+192.168.0.10
+
aid ip public Show my public IP address
+ -j, --json Output the local IP address in JSON format.
+
+-----input-----
+aid ip public
+-----output-----
+1.2.3.4
+
aid ip scan Scan a specified IP address subnet for active ip addresses
+ -i, --ip <IP> The IP subnet to scan. If not provided, the local subnet will be used. [default: ]
+ -j, --json Output scan results in JSON format.
+
+-----input-----
+aid ip scan
+-----output-----
+1.2.3.0
+1.2.3.2
+1.2.3.4
+
aid ip status Try to connect to the specified IP address
+ -i, --ip <IP> The IP address to check the status of.
+ -j, --json Output status in JSON format.
+
+-----input-----
+aid ip status -i 1.2.3.2
+-----output-----
+online
+
aid json jwt-decode <TOKEN> Decode a JWT
+
+-----input-----
+aid json jwt-decode eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImtpZCI6IjM5OWZkM2E5MmI3YTJiNDZjMzQzMDNiOTViOGNhMmMyIn0.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNzI5NTQ2MzUxfQ.BSvGKZUlSPDWtnVjeJG45eUz1JqYZbBYVKPp4EiV23gs8hE92LvnlxnfnZP-QNfb1JTFCPikQKmkAhp5QInTDg
+-----output-----
+{
+ "header": {
+ "alg": "ES256",
+ "kid": "399fd3a92b7a2b46c34303b95b8ca2c2",
+ "typ": "JWT"
+ },
+ "payload": {
+ "iat": 1729546351,
+ "name": "John Doe",
+ "sub": "1234567890"
+ }
+}
+
aid math eval <EXPRESSION> Evaluates a math expression
+
+-----input-----
+aid math eval "sin(pi / 2) * 8 ^ e"
+
+-----output-----
+285.0054081607272
+
aid math plot <EXPRESSION> Plots a math expression
+ --start <START_X> Start x coord.
+ --end <END_X> End x coord.
+ -s, --step <STEP_X> x step size.
+
+-----input-----
+aid math plot --start -20 --end 20 --step 0.5 "x * sin(1 - x)"
+
+-----output-----
+expression: x * sin(1 - x)
+X range: [-20, 20]
+Y range: [-19.43818, 18.049082]
+ | *
+ * | **
+ *** | **
+ * * | ***
+ * * | ** * **
+ * * ** | *** * *
+ * * *** | * * * *
+ ** * ** * | *** * * * *
+ * * * * *** | * * * * * *
+ * * * ** * ** | ** * * ** * *
+--*---*---*---*--**--******-**---*---*---*--*---*-
+ * * ** * * | *** * * * * **
+ * * * **** | * * * *
+ * * * ** | * * * *
+ ** * * | *** ** *
+ * *** | ***
+ * ** | **
+ * | **
+** |
+** |
+
aid mem usage Monitor memory usage
+ -w, --watch Continuously monitor memory usage.
+ -j, --json Output memory usage in JSON format.
+ -p, --plot Plot total % mem usage.
+-----input-----
+aid mem usage -w -p
+-----output-----
+total: 15.4GB, used: 13.3GB (86.6%), free: 2.1GB (13.4%)
+plot: used memory %
+X range: [15, 44]
+Y range: [86.5, 87.1]
+* *
+* **
+*** *
+ ** *
+ * *
+ *
+ *
+ ** ** *
+ * *** **
+ * * ** ***
+ ***** ***** **** *
+ * ** *
+ ** * *
+ ****** *******
+ *
+ *
+ * ********
+ * **
+ * *
+ **
+
aid network info Show network information
+ -j, --json Output network information in JSON format.
+
+-----input-----
+aid network info -j
+-----output-----
+[
+ {
+ "name": "WiFi",
+ "transmitted": 0.2,
+ "received": 1.5,
+ "mac": "00:00:00:00:00:00"
+ }
+]
+
aid network usage Display network usage
+ -w, --watch Continuously monitor network usage.
+
+-----input-----
+aid network usage -w
+-----output-----
+WiFi: rx 1.05 kB/s, tx 0 B/s
+WiFi-QoS Packet Scheduler-0000: rx 1.05 kB/s, tx 0 B/s
+
aid port status Check if the specified port is 'open' or 'closed'.
+ -i, --ip <IP> The IP address to check (optional).
+ -p <PORT> The port number to check the status of.
+ -j, --json Output port status in JSON format.
+
+-----input-----
+aid port status -i 192.168.0.1 -p 80
+-----output-----
+open
+
aid port scan Scan for open ports on a specified IP address
+ -i, --ip <IP> The IP address to scan (optional).
+ -j, --json Output scan results in JSON format.
+
+-----input-----
+aid port scan -i 192.168.0.1
+-----output-----
+80
+443
+22
+
aid process usage Display process information.
+ -f, --filter <FILTER> filter the results by process name regex.
+ -s, --sort <SORT_BY> Sort the results by [cpu, mem, disk]
+ -l, --limit <LIMIT> Limit the number of results to display.
+ -w, --watch Continuously monitor the processes.
+
+-----input-----
+aid process usage -w -s mem -l 10 -f host
+-----output-----
+[pid] [cpu %] [mem] [disk read] [disk write] name
+[5640] 1.20 % 44 MB 0 B/s 0 B/s svchost.exe
+[1568] 0.00 % 42 MB 0 B/s 0 B/s svchost.exe
+[5632] 0.00 % 30 MB 0 B/s 0 B/s svchost.exe
+[9348] 0.00 % 20 MB 0 B/s 0 B/s svchost.exe
+[14736] 0.00 % 20 MB 0 B/s 0 B/s svchost.exe
+[9388] 0.00 % 19 MB 0 B/s 0 B/s svchost.exe
+[9244] 0.00 % 19 MB 0 B/s 0 B/s sihost.exe
+[8396] 0.00 % 19 MB 0 B/s 0 B/s svchost.exe
+[1736] 0.00 % 17 MB 0 B/s 0 B/s svchost.exe
+[37596] 0.00 % 16 MB 0 B/s 0 B/s taskhostw.exe
+
aid text base64-encode <INPUT> encodes a base64 string
+
+-----input-----
+aid text base64-encode "Hello, world!"
+-----output-----
+SGVsbG8sIHdvcmxkIQ==
+
aid text base64-decode <INPUT> decodes a base64 string
+
+-----input-----
+aid text base64-decode SGVsbG8sIHdvcmxkIQ==
+-----output-----
+Hello, world!
+
aid text lines reads and prints lines from a text file
+ -i, --input <FILE> Input text file to search.
+ -s, --start <START> first line to print
+ -e, --end <END> last line to print
+ -f, --first <HEAD> number of lines from the start of the file to print
+ -l, --last <TAIL> number of lines from the end of the file to print
+
+-----input-----
+aid text lines -i .\README.md -l 10
+-----output-----
+| aid file zip | zips the files in the source directory |
+| aid time unix | Display unix timestamp |
+| aid time dt | Display the datetime |
+| aid bits board | Display the number in bitboard representation |
+| aid bits to-bin | Converts a number to it's binary representation |
+| aid bits to-dec | Converts a number to it's decimal representation |
+| aid bits to-hex | Converts a number to it's hex representation |
+| aid math eval | Evaluates a math expression |
+| aid math plot | Plot a math expression |
+
aid time chron <EXPRESSION> Describes a chron job
+
+-----input-----
+aid time chron 0 30 3 ? * 2#3 *
+-----output-----
+At 3:30 AM, on the third Tuesday of the month
+
aid time count-down <MM:SS> Starts a countdown timer
+
+-----input-----
+aid time count-down 10:30
+-----output-----
+Time left: 10 minutes 30 seconds
+
aid time unix Display unix timestamp
+ -d, --dt Use the specified datetime.
+ -m, --milli Output the timestamp as unix milliseconds.
+
+-----input-----
+aid time unix
+-----output-----
+1729546694
+
+-----input-----
+aid time unix -m
+-----output-----
+1729715103358
+
+-----input-----
+aid time unix -d 'Fri, 14 Jul 2017 02:40:00 +0000'
+-----output-----
+1500000000
+
aid time dt Display the datetime
+ -l, --local Use the local datetime.
+ -u, --unix Use the specified unix second timestamp.
+ -r, --rfc Output the datetime in Rfc3339 format.
+
+-----input-----
+aid time dt
+-----output-----
+2024-10-21 21:38:34
+
+-----input-----
+aid time dt -l
+-----output-----
+2024-10-21 22:38:14
+
+-----input-----
+aid time dt -u 1729546694
+-----output-----
+2024-10-21 21:38:14
+
+-----input-----
+aid time dt --rfc
+-----output-----
+2024-10-23T20:38:00.086663200+00:00
+
| command | description |
+ |-------------|-----------------------------------------------------------|
+ | aid http | HTTP functions |
+ | aid ip | IP information / scanning |
+ | aid port | Port information / scanning |
+ | aid cpu | System cpu information |
+ | aid mem | System memory information |
+ | aid disk | System disk information |
+ | aid network | System network information |
+ | aid process | Display process information |
+ | aid json | JSON parsing / extraction functions |
+ | aid csv | CSV search / transformation functions |
+ | aid text | Text manipulation functions |
+ | aid file | File info functions |
+ | aid time | Time related functions |
+ | aid bits | Bit manipulation functions |
+ | aid math | Math functions |
+ | aid help | Print this message or the help of the given subcommand(s) |
+
| version | command | description |
+|-----------|------------------------|------------------------------------------------------------|
+| [u] 0.1.3 | aid http req | Make a HTTP request |
+| [u] 0.1.3 | aid http serve | Start a dummy HTTP server |
+| [u] 0.1.3 | aid ip local | Show my local IP address |
+| [u] 0.1.3 | aid ip public | Show my public IP address |
+| [u] 0.1.3 | aid ip scan | Scan a specified IP address subnet for active ip addresses |
+| [u] 0.1.3 | aid ip status | Try to connect to the specified IP address |
+| [u] 0.1.3 | aid port status | Check if the specified port is 'open' or 'closed'. |
+| [u] 0.1.3 | aid port scan | Scan for open ports on a specified IP address |
+| [u] 0.1.3 | aid cpu info | Show CPU information |
+| [u] 0.1.6 | aid cpu usage | Monitor CPU usage |
+| [u] 0.1.6 | aid mem usage | Monitor memory usage |
+| [u] 0.1.3 | aid disk info | Show disk information |
+| [u] 0.1.3 | aid network info | Show network information |
+| [u] 0.1.3 | aid network usage | Display network usage |
+| [a] 0.1.7 | aid process usage | Display process usage |
+| [u] 0.1.3 | aid json extract | Extract a property from JSON data |
+| [u] 0.1.3 | aid json jwt-decode | Decode a JWT |
+| [u] 0.1.3 | aid csv search | Sql search over csv |
+| [u] 0.1.3 | aid text base64-encode | encodes a base64 string |
+| [u] 0.1.3 | aid text base64-decode | decodes a base64 string |
+| [u] 0.1.3 | aid text lines | reads and prints lines from a text file |
+| [u] 0.1.3 | aid file info | prints file metadata |
+| [u] 0.1.3 | aid file md5 | calculates the files Md5 checksum |
+| [u] 0.1.3 | aid file sha1 | calculates the files Sha1 checksum |
+| [u] 0.1.3 | aid file sha256 | calculates the files Sha256 checksum |
+| [a] 0.1.4 | aid file zip | zips the files in the source directory |
+| [u] 0.1.9 | aid time unix | Display unix timestamp |
+| [u] 0.1.9 | aid time dt | Display the datetime |
+| [a] 0.1.9 | aid time chron | Describes a chron job |
+| [a] 0.1.9 | aid time count-down | Starts a countdown timer |
+| [a] 0.1.8 | aid bits eval | Bitwise expression evaluation / conversion / information |
+| [u] 0.1.3 | aid math eval | Evaluates a math expression |
+| [u] 0.1.3 | aid math plot | Plot a math expression |
+
+[a] added in version x.x.x
+[u] lasted updated in version x.x.x
+[p] last patched in version x.x.x
+[d] deprecated in version x.x.x
+
Need help? Ping me on linkedin and I'd be more then happy to jump on a call to debug, help configure or answer any questions.
+ +Manual installation is simple, just download the release and add it to your PATH environment variable, if you'd like an even easier way i've added scripts to do it for you.
+wget https://raw.githubusercontent.com/Timmoth/aid-cli/refs/heads/main/install.sh
+chmod +x install.sh
+sudo ./install.sh
+
Invoke-WebRequest -Uri https://raw.githubusercontent.com/Timmoth/aid-cli/refs/heads/main/install.ps1 -OutFile install.ps1
+Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
+.\install.ps1
+
If you'd like to build the latest version from source: +
//Install rust https://www.rust-lang.org/tools/install
+git clone https://github.com/Timmoth/aid-cli
+cd aid-cli
+cargo build --release
+.\target\release\aid.exe
+
' + escapeHtml(summary) +'
' + noResultsText + '
'); + } +} + +function doSearch () { + var query = document.getElementById('mkdocs-search-query').value; + if (query.length > min_search_length) { + if (!window.Worker) { + displayResults(search(query)); + } else { + searchWorker.postMessage({query: query}); + } + } else { + // Clear results for short queries + displayResults([]); + } +} + +function initSearch () { + var search_input = document.getElementById('mkdocs-search-query'); + if (search_input) { + search_input.addEventListener("keyup", doSearch); + } + var term = getSearchTermFromLocation(); + if (term) { + search_input.value = term; + doSearch(); + } +} + +function onWorkerMessage (e) { + if (e.data.allowSearch) { + initSearch(); + } else if (e.data.results) { + var results = e.data.results; + displayResults(results); + } else if (e.data.config) { + min_search_length = e.data.config.min_search_length-1; + } +} + +if (!window.Worker) { + console.log('Web Worker API not supported'); + // load index in main thread + $.getScript(joinUrl(base_url, "search/worker.js")).done(function () { + console.log('Loaded worker'); + init(); + window.postMessage = function (msg) { + onWorkerMessage({data: msg}); + }; + }).fail(function (jqxhr, settings, exception) { + console.error('Could not load worker.js'); + }); +} else { + // Wrap search in a web worker + var searchWorker = new Worker(joinUrl(base_url, "search/worker.js")); + searchWorker.postMessage({init: true}); + searchWorker.onmessage = onWorkerMessage; +} diff --git a/search/search_index.json b/search/search_index.json new file mode 100644 index 0000000..6600d60 --- /dev/null +++ b/search/search_index.json @@ -0,0 +1 @@ +{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"Top level commands: | command | description | |-------------|-----------------------------------------------------------| | aid http | HTTP functions | | aid ip | IP information / scanning | | aid port | Port information / scanning | | aid cpu | System cpu information | | aid mem | System memory information | | aid disk | System disk information | | aid network | System network information | | aid process | Display process information | | aid json | JSON parsing / extraction functions | | aid csv | CSV search / transformation functions | | aid text | Text manipulation functions | | aid file | File info functions | | aid time | Time related functions | | aid bits | Bit manipulation functions | | aid math | Math functions | | aid help | Print this message or the help of the given subcommand(s) | All commands: | version | command | description | |-----------|------------------------|------------------------------------------------------------| | [u] 0.1.3 | aid http req | Make a HTTP request | | [u] 0.1.3 | aid http serve | Start a dummy HTTP server | | [u] 0.1.3 | aid ip local | Show my local IP address | | [u] 0.1.3 | aid ip public | Show my public IP address | | [u] 0.1.3 | aid ip scan | Scan a specified IP address subnet for active ip addresses | | [u] 0.1.3 | aid ip status | Try to connect to the specified IP address | | [u] 0.1.3 | aid port status | Check if the specified port is 'open' or 'closed'. | | [u] 0.1.3 | aid port scan | Scan for open ports on a specified IP address | | [u] 0.1.3 | aid cpu info | Show CPU information | | [u] 0.1.6 | aid cpu usage | Monitor CPU usage | | [u] 0.1.6 | aid mem usage | Monitor memory usage | | [u] 0.1.3 | aid disk info | Show disk information | | [u] 0.1.3 | aid network info | Show network information | | [u] 0.1.3 | aid network usage | Display network usage | | [a] 0.1.7 | aid process usage | Display process usage | | [u] 0.1.3 | aid json extract | Extract a property from JSON data | | [u] 0.1.3 | aid json jwt-decode | Decode a JWT | | [u] 0.1.3 | aid csv search | Sql search over csv | | [u] 0.1.3 | aid text base64-encode | encodes a base64 string | | [u] 0.1.3 | aid text base64-decode | decodes a base64 string | | [u] 0.1.3 | aid text lines | reads and prints lines from a text file | | [u] 0.1.3 | aid file info | prints file metadata | | [u] 0.1.3 | aid file md5 | calculates the files Md5 checksum | | [u] 0.1.3 | aid file sha1 | calculates the files Sha1 checksum | | [u] 0.1.3 | aid file sha256 | calculates the files Sha256 checksum | | [a] 0.1.4 | aid file zip | zips the files in the source directory | | [u] 0.1.9 | aid time unix | Display unix timestamp | | [u] 0.1.9 | aid time dt | Display the datetime | | [a] 0.1.9 | aid time chron | Describes a chron job | | [a] 0.1.9 | aid time count-down | Starts a countdown timer | | [a] 0.1.8 | aid bits eval | Bitwise expression evaluation / conversion / information | | [u] 0.1.3 | aid math eval | Evaluates a math expression | | [u] 0.1.3 | aid math plot | Plot a math expression | [a] added in version x.x.x [u] lasted updated in version x.x.x [p] last patched in version x.x.x [d] deprecated in version x.x.x Support \ud83d\udedf Need help? Ping me on linkedin and I'd be more then happy to jump on a call to debug, help configure or answer any questions.","title":"Overview \u2705"},{"location":"#top-level-commands","text":"| command | description | |-------------|-----------------------------------------------------------| | aid http | HTTP functions | | aid ip | IP information / scanning | | aid port | Port information / scanning | | aid cpu | System cpu information | | aid mem | System memory information | | aid disk | System disk information | | aid network | System network information | | aid process | Display process information | | aid json | JSON parsing / extraction functions | | aid csv | CSV search / transformation functions | | aid text | Text manipulation functions | | aid file | File info functions | | aid time | Time related functions | | aid bits | Bit manipulation functions | | aid math | Math functions | | aid help | Print this message or the help of the given subcommand(s) |","title":"Top level commands:"},{"location":"#all-commands","text":"| version | command | description | |-----------|------------------------|------------------------------------------------------------| | [u] 0.1.3 | aid http req | Make a HTTP request | | [u] 0.1.3 | aid http serve | Start a dummy HTTP server | | [u] 0.1.3 | aid ip local | Show my local IP address | | [u] 0.1.3 | aid ip public | Show my public IP address | | [u] 0.1.3 | aid ip scan | Scan a specified IP address subnet for active ip addresses | | [u] 0.1.3 | aid ip status | Try to connect to the specified IP address | | [u] 0.1.3 | aid port status | Check if the specified port is 'open' or 'closed'. | | [u] 0.1.3 | aid port scan | Scan for open ports on a specified IP address | | [u] 0.1.3 | aid cpu info | Show CPU information | | [u] 0.1.6 | aid cpu usage | Monitor CPU usage | | [u] 0.1.6 | aid mem usage | Monitor memory usage | | [u] 0.1.3 | aid disk info | Show disk information | | [u] 0.1.3 | aid network info | Show network information | | [u] 0.1.3 | aid network usage | Display network usage | | [a] 0.1.7 | aid process usage | Display process usage | | [u] 0.1.3 | aid json extract | Extract a property from JSON data | | [u] 0.1.3 | aid json jwt-decode | Decode a JWT | | [u] 0.1.3 | aid csv search | Sql search over csv | | [u] 0.1.3 | aid text base64-encode | encodes a base64 string | | [u] 0.1.3 | aid text base64-decode | decodes a base64 string | | [u] 0.1.3 | aid text lines | reads and prints lines from a text file | | [u] 0.1.3 | aid file info | prints file metadata | | [u] 0.1.3 | aid file md5 | calculates the files Md5 checksum | | [u] 0.1.3 | aid file sha1 | calculates the files Sha1 checksum | | [u] 0.1.3 | aid file sha256 | calculates the files Sha256 checksum | | [a] 0.1.4 | aid file zip | zips the files in the source directory | | [u] 0.1.9 | aid time unix | Display unix timestamp | | [u] 0.1.9 | aid time dt | Display the datetime | | [a] 0.1.9 | aid time chron | Describes a chron job | | [a] 0.1.9 | aid time count-down | Starts a countdown timer | | [a] 0.1.8 | aid bits eval | Bitwise expression evaluation / conversion / information | | [u] 0.1.3 | aid math eval | Evaluates a math expression | | [u] 0.1.3 | aid math plot | Plot a math expression | [a] added in version x.x.x [u] lasted updated in version x.x.x [p] last patched in version x.x.x [d] deprecated in version x.x.x","title":"All commands:"},{"location":"#support","text":"Need help? Ping me on linkedin and I'd be more then happy to jump on a call to debug, help configure or answer any questions.","title":"Support \ud83d\udedf"},{"location":"contributing/","text":"Contributing \ud83d\ude4f Contributions are welcome! Here\u2019s how you can get involved: Fork the repository : Click the \"Fork\" button at the top right of this page. Clone your fork : git clone https://github.com/Timmoth/aid-cli.git Create a branch : Make your changes in a new branch. git checkout -b my-feature-branch Commit your changes : git commit -m 'Add some feature' Push to the branch : git push origin my-feature-branch Open a pull request : Describe your changes and submit your PR.","title":"Contributing \ud83d\ude4f"},{"location":"contributing/#contributing","text":"Contributions are welcome! Here\u2019s how you can get involved: Fork the repository : Click the \"Fork\" button at the top right of this page. Clone your fork : git clone https://github.com/Timmoth/aid-cli.git Create a branch : Make your changes in a new branch. git checkout -b my-feature-branch Commit your changes : git commit -m 'Add some feature' Push to the branch : git push origin my-feature-branch Open a pull request : Describe your changes and submit your PR.","title":"Contributing \ud83d\ude4f"},{"location":"quickstart/","text":"Installation Manual installation is simple, just download the release and add it to your PATH environment variable, if you'd like an even easier way i've added scripts to do it for you. Linux / Mac wget https://raw.githubusercontent.com/Timmoth/aid-cli/refs/heads/main/install.sh chmod +x install.sh sudo ./install.sh Windows (powershell) Invoke-WebRequest -Uri https://raw.githubusercontent.com/Timmoth/aid-cli/refs/heads/main/install.ps1 -OutFile install.ps1 Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force .\\install.ps1 Releases Download the latest release Build If you'd like to build the latest version from source: //Install rust https://www.rust-lang.org/tools/install git clone https://github.com/Timmoth/aid-cli cd aid-cli cargo build --release .\\target\\release\\aid.exe","title":"Quick start \u25b6\ufe0f"},{"location":"quickstart/#installation","text":"Manual installation is simple, just download the release and add it to your PATH environment variable, if you'd like an even easier way i've added scripts to do it for you.","title":"Installation"},{"location":"quickstart/#linux-mac","text":"wget https://raw.githubusercontent.com/Timmoth/aid-cli/refs/heads/main/install.sh chmod +x install.sh sudo ./install.sh","title":"Linux / Mac"},{"location":"quickstart/#windows-powershell","text":"Invoke-WebRequest -Uri https://raw.githubusercontent.com/Timmoth/aid-cli/refs/heads/main/install.ps1 -OutFile install.ps1 Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force .\\install.ps1","title":"Windows (powershell)"},{"location":"quickstart/#releases","text":"Download the latest release","title":"Releases"},{"location":"quickstart/#build","text":"If you'd like to build the latest version from source: //Install rust https://www.rust-lang.org/tools/install git clone https://github.com/Timmoth/aid-cli cd aid-cli cargo build --release .\\target\\release\\aid.exe","title":"Build"},{"location":"support/","text":"Need help? Ping me on linkedin and I'd be more then happy to jump on a call to debug, help configure or answer any questions.","title":"Support \ud83d\udedf"},{"location":"features/bits/","text":"aid bits eval aid bits eval