pwn 0.5.472 → 0.5.474

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64d838c2244b031f0d4c1aa74a55697e0a759f41af3acba22658cd819948e9c7
4
- data.tar.gz: f2ff0e54c0d14a57090f5bde376cbad4c26a89283446154da5771c624b7905f4
3
+ metadata.gz: 205b293783f7b7ba571878bd22b91df82b690ae650e25c3482ac9b05efda23d3
4
+ data.tar.gz: e619b23e3c6eb018e2e24b35e16402da95e942b9c248976b67c3baa4669ea27e
5
5
  SHA512:
6
- metadata.gz: 0aa2798d611fc5a118ead2077604d6843e455feee5befd4a9167a47085c284e7b439ac4863d303adc5b0260598dc38befeec08ea32aa3e6156913cc109d14719
7
- data.tar.gz: cb58d8b8191715306cf8e1892dc3bd6bce6611a751e335e4ead6d115c08088237b287fc65a39c0ac40d98f1c15041c841542745107b4aca2289cccfde0603f0d
6
+ metadata.gz: ca6eb9d45d2bda968d5def83735281b76da7474594c39ea544566cf55f2c94adc3b54c8696f279666026e179a42202573336709f27fd1008cbba6541f870b09b
7
+ data.tar.gz: 334999ee78694482ddbc78eca1c649ecb2067559af70d16c1d5dace058a782dafcfacb3d8e7fc70514b80f65fe62e1763f6209950a04956222e9760607040108
data/Gemfile CHANGED
@@ -11,7 +11,7 @@ gemspec
11
11
  # In some circumstances custom flags are passed to gems in order
12
12
  # to build appropriately. Defer to ./reinstall_pwn_gemset.sh
13
13
  # to review these custom flags (e.g. pg, serialport, etc).
14
- gem 'activesupport', '8.0.3'
14
+ gem 'activesupport', '<8.1.0'
15
15
  gem 'anemone', '0.7.2'
16
16
  gem 'authy', '3.0.1'
17
17
  gem 'aws-sdk', '3.3.0'
@@ -48,7 +48,7 @@ gem 'jwt', '3.1.2'
48
48
  gem 'libusb', '0.7.2'
49
49
  gem 'luhn', '3.0.0'
50
50
  gem 'mail', '2.8.1'
51
- gem 'meshtastic', '0.0.129'
51
+ gem 'meshtastic', '0.0.132'
52
52
  gem 'metasm', '1.0.5'
53
53
  gem 'mongo', '2.21.3'
54
54
  gem 'msfrpc-client', '1.1.2'
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ cd /opt/pwn
37
37
  $ ./install.sh
38
38
  $ ./install.sh ruby-gem
39
39
  $ pwn
40
- pwn[v0.5.472]:001 >>> PWN.help
40
+ pwn[v0.5.474]:001 >>> PWN.help
41
41
  ```
42
42
 
43
43
  [![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.4@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.472]:001 >>> PWN.help
55
+ pwn[v0.5.474]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
  If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.4.4@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.5.472]:001 >>> PWN.help
65
+ pwn[v0.5.474]:001 >>> PWN.help
66
66
  ```
67
67
 
68
68
  PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
@@ -6,7 +6,9 @@ cat Gemfile | awk '{print $2}' | grep -E "^'.+$" | grep -v -e rubygems.org | whi
6
6
  this_gem=`echo $gem | sed "s/'//g" | sed 's/\,//g'`
7
7
  latest_version=`gem search -r $this_gem | grep -E "^${this_gem}\s.+$" | awk '{print $2}' | sed 's/(//g' | sed 's/)//g' | sed 's/,//g'`
8
8
  echo "${this_gem} => $latest_version"
9
- if [[ $this_gem == 'bundler' ]]; then
9
+ if [[ $this_gem == 'activesupport' ]]; then
10
+ sed -i "s/^gem '${this_gem}'.*$/gem '${this_gem}', '<${latest_version}'/g" Gemfile
11
+ elif [[ $this_gem == 'bundler' ]]; then
10
12
  sed -i "s/^gem '${this_gem}'.*$/gem '${this_gem}', '>=${latest_version}'/g" Gemfile
11
13
  elif [[ $this_gem == 'json' ]]; then
12
14
  # Shakes fist at selenium-webdriver
@@ -648,6 +648,7 @@ module PWN
648
648
  mqtt_obj = PWN.const_get(:MqttObj)
649
649
  from = "!#{mqtt_obj.client_id}"
650
650
  active_channel = PWN::Env[:plugins][:meshtastic][:channel][:active].to_s.to_sym
651
+ region = PWN::Env[:plugins][:meshtastic][:channel][active_channel][:region]
651
652
  topic = PWN::Env[:plugins][:meshtastic][:channel][active_channel][:topic]
652
653
  channel_num = PWN::Env[:plugins][:meshtastic][:channel][active_channel][:channel_num]
653
654
  psk = PWN::Env[:plugins][:meshtastic][:channel][active_channel][:psk]
@@ -665,13 +666,15 @@ module PWN
665
666
  end
666
667
  puts "\nFrom: #{from}"
667
668
  puts "To: #{to}"
669
+ puts "Region: #{region}"
668
670
  puts "Topic: #{topic}"
669
- puts "Channel: #{channel_num}"
671
+ puts "Channel #: #{channel_num}"
670
672
  puts "Text: #{text}\n\n"
671
673
  Meshtastic::MQTT.send_text(
672
674
  mqtt_obj: mqtt_obj,
673
675
  from: from,
674
676
  to: to,
677
+ region: region,
675
678
  topic: topic,
676
679
  channel: channel_num,
677
680
  text: text,
data/lib/pwn/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.5.472'
4
+ VERSION = '0.5.474'
5
5
  end
@@ -737,7 +737,7 @@
737
737
  {"messages":[{"role":"user","content":"PWN::Plugins::Jenkins.list_nested_jobs Usage"},{"role":"assistant","content":"`PWN::Plugins::Jenkins.list_nested_jobs`: Supported Method Parameters\n\nPWN::Plugins::Jenkins.list_nested_jobs(\n\njenkins_obj: 'required jenkins_obj returned from #connect method',\nview_path: 'required view path to list jobs'\n\n)\n"}]}
738
738
  {"messages":[{"role":"user","content":"PWN::Plugins::Jenkins.list_nested_views Usage"},{"role":"assistant","content":"`PWN::Plugins::Jenkins.list_nested_views`: Supported Method Parameters\n\nPWN::Plugins::Jenkins.list_nested_views(\n\njenkins_obj: 'required jenkins_obj returned from #connect method',\nview_path: 'required view path list sub-views'\n\n)\n"}]}
739
739
  {"messages":[{"role":"user","content":"PWN::Plugins::JiraDataCenter.authors Usage"},{"role":"assistant","content":"`PWN::Plugins::JiraDataCenter.authors`: Author(s)\n\n0day Inc. <support@0dayinc.com>\n"}]}
740
- {"messages":[{"role":"user","content":"PWN::Plugins::JiraDataCenter.clone_issue Usage"},{"role":"assistant","content":"`PWN::Plugins::JiraDataCenter.clone_issue`: Supported Method Parameters\n\nissue_resp = PWN::Plugins::JiraDataCenter.clone_issue(\n\nissue: 'required - issue to clone (e.g. Bug, Issue, Story, or Epic ID)'\n\n)\n"}]}
740
+ {"messages":[{"role":"user","content":"PWN::Plugins::JiraDataCenter.clone_issue Usage"},{"role":"assistant","content":"`PWN::Plugins::JiraDataCenter.clone_issue`: Supported Method Parameters\n\nissue_resp = PWN::Plugins::JiraDataCenter.clone_issue(\n\nissue: 'required - issue to clone (e.g. Bug, Issue, Story, or Epic ID)',\ncopy_attachments: 'optional - boolean to indicate whether to copy attachments (Defaults to false)'\n\n)\n"}]}
741
741
  {"messages":[{"role":"user","content":"PWN::Plugins::JiraDataCenter.create_issue Usage"},{"role":"assistant","content":"`PWN::Plugins::JiraDataCenter.create_issue`: Supported Method Parameters\n\nissue_resp = PWN::Plugins::JiraDataCenter.create_issue(\n\nproject_key: 'required - project key (e.g. PWN)',\nsummary: 'required - summary of the issue (e.g. Epic for PWN-1337)',\nissue_type: 'required - issue type (e.g. :epic, :story, :bug)',\ndescription: 'optional - description of the issue',\nepic_name: 'optional - name of the epic',\nadditional_fields: 'optional - additional fields to set in the issue (e.g. labels, components, custom fields, etc.)'\nattachments: 'optional - array of attachment paths to upload to the issue (e.g. [\"/tmp/file1.txt\", \"/tmp/file2.txt\"])',\ncomment: 'optional - comment to add to the issue (e.g. \"This is a comment\")'\n\n)\n"}]}
742
742
  {"messages":[{"role":"user","content":"PWN::Plugins::JiraDataCenter.delete_attachment Usage"},{"role":"assistant","content":"`PWN::Plugins::JiraDataCenter.delete_attachment`: Supported Method Parameters\n\nissue_resp = PWN::Plugins::JiraDataCenter.delete_attachment(\n\nid: 'required - attachment ID to delete (e.g. 10000) found in #get_issue method'\n\n)\n"}]}
743
743
  {"messages":[{"role":"user","content":"PWN::Plugins::JiraDataCenter.delete_issue Usage"},{"role":"assistant","content":"`PWN::Plugins::JiraDataCenter.delete_issue`: Supported Method Parameters\n\nissue_resp = PWN::Plugins::JiraDataCenter.delete_issue(\n\nissue: 'required - issue to delete (e.g. Bug, Issue, Story, or Epic ID)'\n\n)\n"}]}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.472
4
+ version: 0.5.474
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -13,16 +13,16 @@ dependencies:
13
13
  name: activesupport
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - '='
16
+ - - "<"
17
17
  - !ruby/object:Gem::Version
18
- version: 8.0.3
18
+ version: 8.1.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
- - - '='
23
+ - - "<"
24
24
  - !ruby/object:Gem::Version
25
- version: 8.0.3
25
+ version: 8.1.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: anemone
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -519,14 +519,14 @@ dependencies:
519
519
  requirements:
520
520
  - - '='
521
521
  - !ruby/object:Gem::Version
522
- version: 0.0.129
522
+ version: 0.0.132
523
523
  type: :runtime
524
524
  prerelease: false
525
525
  version_requirements: !ruby/object:Gem::Requirement
526
526
  requirements:
527
527
  - - '='
528
528
  - !ruby/object:Gem::Version
529
- version: 0.0.129
529
+ version: 0.0.132
530
530
  - !ruby/object:Gem::Dependency
531
531
  name: metasm
532
532
  requirement: !ruby/object:Gem::Requirement