Skip to content

A collection of Bash scripts that are either not meaningful or complex enough to warrant an independent repository.

Notifications You must be signed in to change notification settings

Hacks4Snacks/bash-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 

Repository files navigation

BashScripts

A collection of Bash scripts that are either not meaningful or complex enough to warrant an independent repository.

Security

  1. bulkDns: bulk DNS lookup
  2. otxpull: pull recently updated indicators from pulse subscriptions
  3. cidrToIP: convert provided CIDR address to list of IPs
  4. nmapDiff: compare previous nmap results and identify changes
  5. nmapRdns: use NMAP for reverse DNS
  6. mal_binary_extract_http: extract binary from pcap using http stream
  7. mal_binary_extract: extract binary from pcap using tcp stream
  8. get_local_ipv4: overly complicated method for getting local interface and ipv4 address

Cloud

  1. awsEC2: simple script to deploy EC2 instance in AWS

System Administration

  1. directorySize: output a specified directory's size
  2. testFile: evaluate the status of a file/directory
  3. serverHealth: report server related information
  4. cpu: report if CPU usage exceeds the threshold
  5. diskSpace: check if the disk space crosses the limit
  6. collectNetworkInfo: gather information related to server
  7. remoteBackup: backup a local file into a remote server
  8. running: show running processes for the current user
  9. softwareInstall: auto install desired software
  10. softwareRemove: auto remove Ubuntu bloatware
  11. showOSVersion: show running OS version
  12. auditd: automated install and configuration of auditd and log forwarding
  13. versionCompare: compare two version number
  14. remote_scp: scp file from remote machine through a jumpserver to localhost
  15. scp_jumpserver: scp file to remote machine through a jumpserver
  16. jump_server_access: ssh to remote machine through a jumpserver
  17. decimal2Binary: convert Decimal Number to Binary
  18. binary2Decimal: convert Binary Number back to decimal
  19. encrypt: encrypt a file/folder with password
  20. convertLowercase: convert data either from the file or standard input to lowercase
  21. randomFile: create unique file/folder automatically with date and time stamp

Templates and Reference

  1. whileRead: read lines from a file using while loop
  2. readMenu: display a menu for system information
  3. whileMenu: a repeated menu for system information
  4. colorFull: provide you with the output of several colours
  5. switchStatement: simple example of a switch statement
  6. unitlLoop: simple example of an until loop
  7. bashTemplate: script template based on Google Style Guide: https://google.github.io/styleguide/shell.xml

About

A collection of Bash scripts that are either not meaningful or complex enough to warrant an independent repository.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages