fofa 0.3.19 → 0.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/fofacli +5 -0
  3. data/lib/fofa/version.rb +4 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfc764bb2b5c3d56f6dfd68ac14a74478a7d19c4e14c72bec35b1d3f547fb7aa
4
- data.tar.gz: 8c52a5488290a45f3c074fcdccca99bef75685e91d42fe554268eb886cad36f3
3
+ metadata.gz: d545f5e3f2e72200759bf4f2f113cf4ae3933cacc79e7436db2948fca942f092
4
+ data.tar.gz: e72a5f234fdd0d8ffc0319140dd1e9a5493f53da7c0d212c19807be4a516f0b9
5
5
  SHA512:
6
- metadata.gz: 67ba297c2bba208e41d01700549cb396de980fb3937e932e01699ee90ce0185d2e9f6daac48fd9366ac919adbc883cd3377686ec5b5fff15e5b44c2ff594e381
7
- data.tar.gz: c998095f14e85ceeb262b4f6b3b02c102d3a75dd0d2c0088c6b0402b7e8b968e0311a950261c91c45719d80fb02d3e5910da3106d1c8470dd1ab04eba3eaf03a
6
+ metadata.gz: 0f610a997d2fc71c76c2d960426d1fc80346a19ef306d808c8e7a09175cd4e625105a108d4534a4dc01e49546b4f730cc05014c28ffed22e87ac5bdf364fabda
7
+ data.tar.gz: c768c528f1ba58e8e5823df16e4b2ea533800057c24411f0d47989ef3f0ef117e162073e60348ac4eb31840b0e03ba49ec349d4c4b09e67e892459e0f84c740b
@@ -102,6 +102,11 @@ ARGV.options do |opts|
102
102
  options[:verbose] = true
103
103
  end
104
104
 
105
+ opts.on( "-V", "--version", "Display version" ) do
106
+ puts "Version: #{Fofa::VERSION}"
107
+ exit(0)
108
+ end
109
+
105
110
  opts.on( nil, "--check_app_all", "Check all applications, only used in check_app mode." ) do
106
111
  options[:check_app_all] = true
107
112
  end
@@ -1,3 +1,6 @@
1
+ # 0.4.20
2
+ # add -V option, and ip_tags method need to upgrade major version
3
+ #
1
4
  # 0.3.19
2
5
  # add feature: ip_tags, tag_info
3
6
  #
@@ -34,5 +37,5 @@
34
37
  # 0.3.6
35
38
  # add fields
36
39
  module Fofa
37
- VERSION = "0.3.19"
40
+ VERSION = "0.4.20"
38
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.19
4
+ version: 0.4.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - fofa