Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A arachni
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 125
    • Issues 125
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arachni - Web Application Security Scanner Framework
  • arachni
  • Issues
  • #250
Closed
Open
Issue created Jul 25, 2012 by Administrator@rootContributor

Add trap for SIGUSR1, to create report and terminate

Created by: ZaiLynch

I'm writing some code that interacts with Arachni. Unfortunately, my code is not able to send the appropriate input to make Arachni create a report and then terminate. I can send the SIGINT signal to cause the menu and I can also send the required letters ('r' / 'e'), by using something like

echo "e" > /proc/_ARACHNI_PID_/fd/0

though it's not registering the "Enter" signal afterwards, so Arachni doesn't react to the input.

I tried several other ways (printf, yes, ...) Eventually, I gave up and modified the Arachni source to add a new trap for USR1, that creates a report and then terminates Arachni. I would love to have this (or some other way to accomplish my goal) added to the official Arachni repo. My fork is located at https://github.com/Konsubuntu/arachni Could this be pulled?

Assignee
Assign to
Time tracking