Expand first - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 78f8af7b8c4dc5c0f0ad6fa3683702c1bd01f8f6
(DIR) parent 21e1c9d19ba3b568ee1c30e534330ae147d8d672
(HTM) Author: HD Moore <hd_moore@rapid7.com>
Date: Sun, 27 Mar 2011 05:42:24 +0000
Expand first
Diffstat:
M bin/create_sig.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/bin/create_sig.rb b/bin/create_sig.rb
@@ -25,7 +25,7 @@ inp = ARGV.shift() || usage()
skp = (ARGV.shift() || 0).to_i
len = (ARGV.shift() || 0).to_i
-raw = WarVOX::Audio::Raw.from_file(inp)
+raw = WarVOX::Audio::Raw.from_file(File.expand_path(inp))
raw.samples = (raw.samples[skp, raw.samples.length]||[]) if skp > 0
raw.samples = (raw.samples[0, len]||[]) if len > 0