Code Monkey home page Code Monkey logo

freedomfighting's People

Contributors

darrenmartyn avatar justicerage avatar nbeguier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freedomfighting's Issues

Regex Extension

Hey,

awesome tools :)

I think in the nojail.py is the regex incomplete, e.g. /var/log/auth will not be cleaned while testing.
Line: 340 "-regex", ".*.log(.[0-9]+)(.gz)?$"],

I changed it to: "-regex", "..log|..log(.[0-9]+)(.gz)?$"],
[*] 32 lines removed from /var/log/auth.log!

Crash with MemoryError

Ran into this issue while testing the script. Worked fine a few times, then halfway through cleaning some logs i got a crash like this, then it continues to crash. IP and hostnames replaced as they are not relevant.

root@generic_host_name:~# python nojail.py -i x.x.x.x -n x.x.x.x
[ ] Cleaning logs for sjkgxd (x.x.x.x - x.x.x.x).
[ ] No entries to remove from /var/run/utmp.
[ ] No entries to remove from /var/log/wtmp.
[ ] No entries to remove from /var/log/btmp.
Traceback (most recent call last):
  File "nojail.py", line 601, in <module>
    clean_lastlog(LINUX_LASTLOG_FILE, args.user, args.ip, args.hostname)
  File "nojail.py", line 331, in clean_lastlog
    clean_file += f.read()
MemoryError

Any ideas? The system was nowhere close to out of memory.

Thanks

Remove dependency to argparse

argparse was only introduced in Python 2.7 and this script may need to run on older machines where only a 2.6 interpreter is provided.
As such, the dependency to argparse should be removed to ensure that more platforms are supported.

Add urlgrabber.py

Add a new script which crawls target website and extracts all the URLs to generate a sitemap.
The script is currently being prototyped in a gist, any feedback is welcome.

First ssh connection not recognized

Hi,

I could not figur out why but the first ssh connection to the host is not recognized by the script.
Perhaps you have an idea.

Kind regards,
helo

share.sh - gzip: stdin: unexpected end of file

I don't know why I get this error while trying to retrieve a test file (on Debian 8 x64):

$ ./share.sh -d 7 /tmp/lol superkey
Success! Retrieval command: ./share.sh -r lol "superkey" https://transfer.sh/OXr9D/3162
$ ./share.sh -r lol "superkey" https://transfer.sh/OXr9D/3162
error reading input file

gzip: stdin: unexpected end of file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.