uirusu 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +3 -1
- data/Rakefile +8 -0
- data/docs/NEWS.markdown +5 -1
- data/lib/uirusu.rb +1 -1
- data/lib/uirusu/cli/application.rb +4 -4
- data/lib/uirusu/version.rb +1 -1
- data/lib/uirusu/vtfile.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab64167723d07269f89b4b4c43fce4ae73a6683
|
4
|
+
data.tar.gz: 6292e4118f27a801bb720a39fc17678a150ec263
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0421708fcf7a0217f2a4388390d6faf5b6b011dd3b6ec11128f7d8aadad3dea144549b237a7fe0396480cd40b9c8268445bbbba9ee5d7ae1f4687af8867def5d'
|
7
|
+
data.tar.gz: 6c38e8055e9b33502ebe202ca664f08b24e603afbd1f99a76caa321ad10ef2c51e80a321eed7d3ec17b5f979f7976d663669f3c9f5eb19111ec65f2007d365fa
|
data/README.markdown
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
# uirusu
|
1
|
+
# uirusu
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/uirusu.png)](http://badge.fury.io/rb/uirusu) [![Build Status](https://travis-ci.org/hammackj/uirusu.svg)](https://travis-ci.org/hammackj/uirusu) [![Code Climate](https://codeclimate.com/github/hammackj/uirusu/badges/gpa.svg)](https://codeclimate.com/github/hammackj/uirusu) [![Inline docs](http://inch-ci.org/github/hammackj/uirusu.svg?branch=master)](http://inch-ci.org/github/hammackj/uirusu)
|
2
4
|
|
3
5
|
uirusu is an [Virustotal](http://www.virustotal.com) automation and convenience tool for hash, file and URL submission.
|
4
6
|
|
data/Rakefile
CHANGED
@@ -49,6 +49,14 @@ task :clean do
|
|
49
49
|
system "rm -rf coverage"
|
50
50
|
end
|
51
51
|
|
52
|
+
task :console do
|
53
|
+
require 'irb'
|
54
|
+
require 'irb/completion'
|
55
|
+
require 'uirusu' # You know what to do.
|
56
|
+
ARGV.clear
|
57
|
+
IRB.start
|
58
|
+
end
|
59
|
+
|
52
60
|
task :default => [:test]
|
53
61
|
|
54
62
|
Rake::TestTask.new("test") do |t|
|
data/docs/NEWS.markdown
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
-
# 1.1.
|
3
|
+
# 1.1.1 (November 6, 2017)
|
4
|
+
- Fixed File.exist? deprecations [@ninoseki]
|
5
|
+
- Fixed Fix issue with RestClient GET requests #16 [@joshporter1]
|
6
|
+
|
7
|
+
# 1.1.0 (February 11, 2017)
|
4
8
|
- **Moved Github repository from http://github.com/arxopia/uirusu to http://github.com/hammackj/uirusu**
|
5
9
|
- Fixed File query report
|
6
10
|
- Fixed Url API
|
data/lib/uirusu.rb
CHANGED
@@ -62,7 +62,7 @@ module Uirusu
|
|
62
62
|
end
|
63
63
|
|
64
64
|
opt.on('-f FILE', '--search-hash-file FILE', 'Searches each hash in a file of hashes on virustotal.com') do |file|
|
65
|
-
if File.
|
65
|
+
if File.exist?(file)
|
66
66
|
puts "[+] Adding file #{file}" if @options['verbose']
|
67
67
|
@files_of_hashes.push(file)
|
68
68
|
else
|
@@ -71,7 +71,7 @@ module Uirusu
|
|
71
71
|
end
|
72
72
|
|
73
73
|
opt.on('-u FILE', '--upload-file FILE', 'Uploads a file to virustotal.com for analysis') do |file|
|
74
|
-
if File.
|
74
|
+
if File.exist?(file)
|
75
75
|
puts "[+] Adding file #{file}" if @options['verbose']
|
76
76
|
@uploads.push(file)
|
77
77
|
else
|
@@ -156,7 +156,7 @@ module Uirusu
|
|
156
156
|
def create_config file=CONFIG_FILE
|
157
157
|
f = File.expand_path(file)
|
158
158
|
|
159
|
-
if File.
|
159
|
+
if File.exist?(f) == false
|
160
160
|
File.open(f, 'w+') do |of|
|
161
161
|
of.write("virustotal: \n api-key: \n timeout: 25\n\n")
|
162
162
|
end
|
@@ -174,7 +174,7 @@ module Uirusu
|
|
174
174
|
|
175
175
|
f = File.expand_path(file)
|
176
176
|
|
177
|
-
if File.
|
177
|
+
if File.exist?(f)
|
178
178
|
@config = YAML.load_file f
|
179
179
|
else
|
180
180
|
if ENV['UIRUSU_VT_API_KEY']
|
data/lib/uirusu/version.rb
CHANGED
data/lib/uirusu/vtfile.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uirusu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Hammack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|