Package Details: dirsearch 0.4.0-3

Git Clone URL: https://aur.archlinux.org/dirsearch.git (read-only, click to copy)
Package Base: dirsearch
Description: Web path scanner/fuzzer, written in Python
Upstream URL: https://github.com/maurosoria/dirsearch
Keywords: ITsec python security web wordlist
Licenses: GPL2
Submitter: Kr1ss
Maintainer: Kr1ss
Last Packager: Kr1ss
Votes: 2
Popularity: 0.22
First Submitted: 2019-06-23 18:37
Last Updated: 2020-12-02 19:09

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

Kr1ss commented on 2020-10-13 13:32

Thank you for investigating @dkasak !

I'll submit an update as soon as I'll get to my box.

Though I think the space and the sharp sign need to be swapped in your patch :

sed -i 's/^# \(save-logs-home.*$\)/\1/' default.conf

But I'll check that out. Cheers !

EDIT Oh I see you noticed that in the mean time XD

PS That's the commmit that changed the comment style in the default configuration :)

dkasak commented on 2020-10-13 13:26

Ah, the sed regex in prepare() is missing a space so it's failing:

--- PKGBUILD.old    2020-10-13 15:26:42.235907820 +0200
+++ PKGBUILD    2020-10-13 15:26:50.488907354 +0200
@@ -29,7 +29,7 @@
 prepare() {
   cd "${pkgname%-git}"
   rm -r {logs,reports}
-  sed -i 's/^#\(save-logs-home.*$\)/\1/' default.conf
+  sed -i 's/^# \(save-logs-home.*$\)/\1/' default.conf
 }

 package() {

EDIT: fixed the diff, a bit too quick on my fingers. :)

dkasak commented on 2020-10-13 13:20

Seems dirsearch is trying to write logs under /usr/lib. This happens when I try executing a search:

Traceback (most recent call last):
  File "/usr/bin/dirsearch", line 46, in <module>
    main = Program()
  File "/usr/bin/dirsearch", line 42, in __init__
    self.controller = Controller(self.script_path, self.arguments, self.output)
  File "/usr/lib/dirsearch/lib/controller/Controller.py", line 131, in __init__
    self.setupErrorLogs()
  File "/usr/lib/dirsearch/lib/controller/Controller.py", line 305, in setupErrorLogs
    self.errorLog = open(self.errorLogPath, "w")
PermissionError: [Errno 13] Permission denied: '/usr/lib/dirsearch/logs/errors-20-10-13_15-19-17.log'