Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
986df37d
Commit
986df37d
authored
Oct 29, 2017
by
Ed Reel
Committed by
GitHub
Oct 29, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1337 from cstrouse/add-0d1n
Add 0d1n package
parents
fd3175ae
5d5d033b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
packages/od1n.rb
packages/od1n.rb
+26
-0
No files found.
packages/od1n.rb
0 → 100644
View file @
986df37d
require
'package'
class
Od1n
<
Package
description
'0d1n is a tool for automating customized attacks against web applications.'
homepage
'https://github.com/CoolerVoid/0d1n'
version
'2.3'
source_url
'https://github.com/CoolerVoid/0d1n/archive/2.3.tar.gz'
source_sha256
'7fe26f0268fe63ec0352502ae590a7a5e258248f253649661dc782ca7edd52ae'
depends_on
'curl'
def
self
.
build
system
'make'
end
def
self
.
install
FileUtils
.
mkdir_p
[
"
#{
CREW_DEST_PREFIX
}
/share/0d1n/payloads"
,
"
#{
CREW_DEST_PREFIX
}
/share/0d1n/templates"
,
"
#{
CREW_DEST_PREFIX
}
/share/0d1n/response2find"
,
"
#{
CREW_DEST_PREFIX
}
/share/0d1n/tables"
,
"
#{
CREW_DEST_PREFIX
}
/share/0d1n/doc"
]
FileUtils
.
cp_r
[
'doc'
,
'payloads'
,
'response2find'
,
'tables'
],
"
#{
CREW_DEST_PREFIX
}
/share/0d1n/"
system
"install -Dm755 0d1n
#{
CREW_DEST_PREFIX
}
/bin/0d1n"
system
"install -m644 *.conf
#{
CREW_DEST_PREFIX
}
/share/0d1n"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment