I'm a System and Network Administrator. I post my ongoing research at blkcipher.pl.
Some of my blog posts [PL]
Open source security auditing tool to search and dump system configuration. It allows you to generate reports in HTML or RAW-HTML formats.
License: GNU General Public License v3.0
I'm a System and Network Administrator. I post my ongoing research at blkcipher.pl.
Some of my blog posts [PL]
does it mean audit fail (you're insecure)
or does it mean the command has failed?
Incorrect sorting of report files.
For resolve this issue (--version-sort
or -V
option):
$ printf "prefix%d\n" $(seq 10 -3 1) | sort
prefix1
prefix10
prefix4
prefix7
$ printf "prefix%d\n" $(seq 10 -3 1) | sort --version-sort
prefix1
prefix4
prefix7
prefix10
Hello,
I'm getting this error while running the script.
Create symbolic link to /usr/local/bin
Create man page to /usr/local/man/man8
I tried creating symbolic link with below command ln -s /root/otseca /usr/local/bin
I'm getting error ln: failed to create symbolic link '/usr/local/bin/otseca': File exists
Hi,
when launch otseca in kali distribution,
Linux 4.15.0-kali3-amd64 #1 SMP Debian 4.15.17-1kali1 (2018-04-25) x86_64 GNU/Linux
..
-- [ Dump system information ] --
...
...
cat /etc/ftpusers [ FAIL ]
After i shoulded change my internet connection to another sid because internet doesn't work.
Adding new commands to tasks:
etc/otseca.conf
I tried porting this to archlinux with not much success. I skipped the weird setup script because it assumes that the otseca files live in someones home dir or similar which is not how you should install software.
I put together this PKGBUILD to install it which seems to work for now but a proper install method would be nice in the future. Maybe try a Makefile or something. It's really ieasy to do and people know how to use those.
# Maintainer: Ricardo (XenGi) Band <[email protected]>
pkgname=otseca
pkgver=1.0.5
pkgrel=1
pkgdesc="Open source security auditing tool to search and dump system configuration"
arch=('i686' 'x86_64')
url="https://github.com/trimstray/otseca"
license=('GPL')
source=("https://github.com/trimstray/otseca/archive/v${pkgver}.tar.gz")
sha256sums=('c04818c531bc8181f5e6603f237d1f6ca7a909c149f73ed7f9a54f94ce065df6')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# ./setup.sh install -- not doing that weird thing of an install script
install -Dm0755 bin/otseca ${pkgdir}/usr/share/otseca/bin/otseca
install -d ${pkgdir}/usr/bin
ln -sf /usr/share/otseca/bin/otseca ${pkgdir}/usr/bin/otseca
install -d ${pkgdir}/usr/share/otseca
cp -r doc ${pkgdir}/usr/share/otseca/
gzip ${pkgdir}/usr/share/otseca/doc/man8/otseca.8
install -d ${pkgdir}/usr/share/man/man8
ln -sf /usr/share/otseca/doc/man8/otseca.8.gz ${pkgdir}/usr/share/man/man8/otseca.8.gz
install -Dm0644 -t ${pkgdir}/etc/otseca/ etc/*
ln -sf /etc/otseca ${pkgdir}/usr/share/otseca/etc
install -Dm0644 -t ${pkgdir}/usr/share/otseca/lib lib/*
install -Dm0644 -t ${pkgdir}/usr/share/otseca/src src/*
cp -r templates ${pkgdir}/usr/share/otseca/templates
install -Dm0644 README.md ${pkgdir}/usr/share/otseca/README.md
install -d ${pkgdir}/var/log/otseca
ln -sf /var/log/otseca ${pkgdir}/usr/share/otseca/log
install -d ${pkgdir}/usr/share/otseca/data/output
}
Anyway after installing otseca and running it I get the following output:
$ sudo otseca --show-errors
┌─────────────────────────────────────────────────────────────┐
│ │
│ Φ otseca v1.0.5 security audit script │
│ │
│ Project: https://github.com/trimstray/otseca │
│ │
│ Debian GNU/Linux, CentOS Linux │
│ │
└─────────────────────────────────────────────────────────────┘
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
-- [ Init environment ] --
• load otseca.conf
• set dump directory: dump.1552473482
• set log file: dump.log
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
-- [ Dump system information ] --
× task: SYSTEM
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
• exec: uname -a [ DONE ]
• exec: uptime [ DONE ]
• exec: lsb_release -a [ DONE ]
• exec: cat /proc/cpuinfo [ DONE ]
• exec: ps -auxenf [ DONE ]
• grep: "^\s*linux" in /boot/grub/grub.* [ TRUE ]
stderr:
sed: can't read /usr/share/otseca/bin/../data/output/dump.1552473482/err.log: No such file or directory
I'm not sure what the problem is. The directory /usr/share/otseca/bin/../data/output/dump.1552473482
has no err.log
file but instead some dump.log.1552473482-system-*
files.
This doesn't seem to be a archlinux specific problem. SO maybe I found a generic bug here?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.