summaryrefslogtreecommitdiff
path: root/homebrew/crunch
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/crunch
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/crunch')
-rw-r--r--homebrew/crunch/.beer19
-rw-r--r--homebrew/crunch/.make.sh-auto5
-rw-r--r--homebrew/crunch/_metadata/description1
-rw-r--r--homebrew/crunch/_metadata/homepage1
-rw-r--r--homebrew/crunch/_metadata/name1
-rw-r--r--homebrew/crunch/_metadata/version1
-rwxr-xr-xhomebrew/crunch/download.sh1
7 files changed, 29 insertions, 0 deletions
diff --git a/homebrew/crunch/.beer b/homebrew/crunch/.beer
new file mode 100644
index 000000000..e7a6b7d36
--- /dev/null
+++ b/homebrew/crunch/.beer
@@ -0,0 +1,19 @@
+{
+ "name": "Crunch",
+ "description": "Wordlist generator",
+ "url": "https://downloads.sourceforge.net/project/crunch-wordlist/crunch-wordlist/crunch-3.6.tgz",
+ "mirror": null,
+ "homepage": "https://sourceforge.net/projects/crunch-wordlist/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"CC=#{ENV.cc}\", \"LFS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\"",
+ "bin.install \"crunch\"",
+ "man1.install \"crunch.1\"",
+ "share.install Dir[\"*.lst\"]"
+ ],
+ "version": "3.6",
+ "file": "crunch.rb"
+} \ No newline at end of file
diff --git a/homebrew/crunch/.make.sh-auto b/homebrew/crunch/.make.sh-auto
new file mode 100644
index 000000000..60ca08f95
--- /dev/null
+++ b/homebrew/crunch/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+make CC=${PKG_TARG}-clang LFS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+bin.install "crunch"
+man1.install "crunch.1"
+share.install Dir["*.lst"]
diff --git a/homebrew/crunch/_metadata/description b/homebrew/crunch/_metadata/description
new file mode 100644
index 000000000..34e554efc
--- /dev/null
+++ b/homebrew/crunch/_metadata/description
@@ -0,0 +1 @@
+Wordlist generator
diff --git a/homebrew/crunch/_metadata/homepage b/homebrew/crunch/_metadata/homepage
new file mode 100644
index 000000000..44a4e818b
--- /dev/null
+++ b/homebrew/crunch/_metadata/homepage
@@ -0,0 +1 @@
+https://sourceforge.net/projects/crunch-wordlist/
diff --git a/homebrew/crunch/_metadata/name b/homebrew/crunch/_metadata/name
new file mode 100644
index 000000000..4e98dc2d4
--- /dev/null
+++ b/homebrew/crunch/_metadata/name
@@ -0,0 +1 @@
+Crunch
diff --git a/homebrew/crunch/_metadata/version b/homebrew/crunch/_metadata/version
new file mode 100644
index 000000000..d70c8f8d8
--- /dev/null
+++ b/homebrew/crunch/_metadata/version
@@ -0,0 +1 @@
+3.6
diff --git a/homebrew/crunch/download.sh b/homebrew/crunch/download.sh
new file mode 100755
index 000000000..6e335ce7b
--- /dev/null
+++ b/homebrew/crunch/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/crunch-wordlist/crunch-wordlist/crunch-3.6.tgz \ No newline at end of file