11 projects tagged "bash"
rootpretender is a system that enables special file operations such as the creation of block special and character special device nodes and unlimited chown()ing of files for non-root users of Unix systems. It does this by faking special file operations. For example, chown() is not executed, and mknod() creates regular files instead of device nodes. These operations are remembered, so next time a process under rootpretender's control examines an affected file with stat() or a similar system call, the fake information is returned. It uses LD_PRELOAD and includes patches for rsync 2.6.6 and rsync 2.6.9 for use on systems without LD_PRELOAD support. These make it possible to copy file ownership and device nodes even if root access is not available on the target.
Video Contact Sheet *NIX creates a contact sheet (preview) from videos by taking still captures distributed over the length of the video. The output image contains useful information on the video such as codecs, file size, screen size, frame rate, and length. It requires MPlayer or FFmpeg and ImageMagick. It is confirmed to work on Linux and FreeBSD, and possibly other POSIX/UNIX systems.
The Open Computer Forensics Architecture (OCFA) is a modular computer forensics framework to automate the digital forensic process, to speed up the investigation and give tactical investigators direct access to the seized data through an easy to use search and browse interface. The architecture forms an environment where existing forensic tools and libraries can be easily plugged into the architecture and can thus be made part of the recursive extraction of data and metadata from digital evidence. It aims to be highly modular, robust, fault tolerant, recursive, and scalable in order to be usable in large investigations that spawn numerous terabytes of evidence data and cover hundreds of evidence items.
Shell Flags (shFlags) is a library written to greatly simplify the handling of command-line flags in Bourne based Unix shell scripts (such as those run with bash, dash, ksh, sh, and zsh). Most shell scripts use getopt for flag processing, but the different versions of getopt on various OSes make writing portable shell scripts difficult. shflags instead provides an API that doesn't change across shell and OS versions, so the script writer can be confident that the script will work.
log4bash facilitates creating easy to read and easy to parse log files from your bash scripts. Developers have the ability to override pretty much all of the default behavior. If the developer chooses to let a user do so, they can pass flags to a script at run time to control some aspects of the logging output. This includes displaying the logging output to the screen in addition to the log file, and altering the logging level. There is a script included (test.log4bash.sh) that provides working code on how to use all of log4bash's features.