Packages for Linux distributions
#7


Suggestions from epix:
  • I disagree partially, we need to distinguish between hashcat and oclHashcat on /usr/share/doc/ because of colliding filenames in the docs/* folder
  • I disagree to have ~/.hashcat/rules or ~/.hashcat/masks, at least not automatically generated. Of course a user can create this by his own or symlink to /usr/share/hashcat/rules 
  • I disagree to Default internal search path.  I can see it's benefits, but the price for the increased complexity is too high for me.


Suggestions from phil:
  • I agree, windows stays as it is
  • I like the wording profile folder
  • I agree with epix for #5 the tmp should be part of the profile folder, but I don't see the need for such a folder at all (see structure below)
  • Let's call us the packaged_file_folder = install folder
  • 1.8 (the .hcstat) should be part of install folder
  • 1.9 = yes
  • We should not try to find out if the binary was called using ./ or via PATH, there should be a different way of finding out whatever type of information this would give us


Some more thoughts:
  • Make it simple!
  • Make it easy for package maintainer
  • We have 3 "types" of folder, 2 of them were named already "profile folder" and "install folder" and I'll add another one called "session folder"
  • Here's some structure I have in mind now:


Shared, those files go in /usr/share/hashcat for both hashcat and oclHashcat:
  • /usr/share/hashcat/hashcat.hcstat
  • /usr/share/hashcat/charsets/*
  • /usr/share/hashcat/kernels/*
  • /usr/share/hashcat/masks/*
  • /usr/share/hashcat/rules/*


Not shared:

hashcat:
  • /usr/bin/*.bin 
  • /usr/share/doc/hashcat/ (stuff from docs/*)
oclHashcat:
  • /usr/bin/*.bin 
  • /usr/share/doc/oclHashcat/ (stuff from docs/* and example* files)
  • /usr/share/doc/oclHashcat/extra/* 


The following files are for testing. I'd say we don't copy them at all, they are _only_ part of the source tree:

hashcat:
  • examples/*
oclHashcat:
  • test/* 


Finally we need to discuss the profile folder. My suggestion:
  • ~/.hashcat/$session/hashcat.log
  • ~/.hashcat/$session/hashcat.restore
  • ~/.hashcat/$session/hashcat.restore.new
  • ~/.hashcat/$session/outfiles/
  • ~/.hashcat/$session/induct/
  • ~/.hashcat/kernels/4098/*.kernel
  • ~/.hashcat/hashcat.pot
  • ~/.hashcat/hashcat.dictstat


Messages In This Thread
Packages for Linux distributions - by atom - 12-08-2015, 12:48 AM
RE: Packages for Linux distributions - by epixoip - 12-08-2015, 12:57 AM
RE: Packages for Linux distributions - by atom - 12-08-2015, 01:01 AM
RE: Packages for Linux distributions - by epixoip - 12-08-2015, 01:41 AM
RE: Packages for Linux distributions - by philsmd - 12-08-2015, 02:56 PM
RE: Packages for Linux distributions - by epixoip - 12-08-2015, 07:59 PM
RE: Packages for Linux distributions - by atom - 12-09-2015, 12:06 AM
RE: Packages for Linux distributions - by epixoip - 12-09-2015, 12:14 AM
RE: Packages for Linux distributions - by atom - 12-09-2015, 12:22 AM
RE: Packages for Linux distributions - by epixoip - 12-09-2015, 02:18 AM
RE: Packages for Linux distributions - by kartan - 12-09-2015, 04:21 AM
RE: Packages for Linux distributions - by epixoip - 12-09-2015, 05:23 AM
RE: Packages for Linux distributions - by atom - 12-12-2015, 02:01 PM