Commit Graph

3963 Commits

Author SHA1 Message Date
wheatley
99c6287a67 MAINTAINABILITY: Added approval before code execution. (#2218) 2021-11-08 09:32:12 +10:00
Isaac Powell
2794bc3cf4 INSTALL: Fixed GITACTIONS check for null (#2214) 2021-10-28 15:35:10 +10:00
Isaac Powell
541933a45f deleted github actions .yaml used for testing 2021-10-28 12:24:43 +11:00
Isaac Powell
9cef23be22 Update github_actions.yml
Changed the actions to run on master branch when pull request is triggered
2021-10-22 12:05:01 +11:00
Isaac Powell
7c3e342981 Feature/ci (#2190)
squash and merge
2021-10-15 14:22:56 +11:00
Isaac Powell
3b34e428cc version up (#2188) 2021-10-15 13:56:58 +11:00
Isaac Powell
ea65554a50 Rubocop api.rb fix (#2175) 2021-10-15 10:36:54 +10:00
wheatley
dc68ed9390 Added testing installation on ubuntu 2021-10-14 16:20:50 +10:00
Isaac Powell
1ae320c3bc Hotfix api.rb (#2173)
* testing api

* formatting
2021-09-24 11:36:16 +10:00
wheatley
43e3fa5432 Release: 0.5.3.0 (#2169)
* Fix #1851 - Command/request(s) sent to zombie 'undefined' bug (#1963)

* Provided correct context in locationHashChanged() to have data necessary for the nested function calls to act as intended.

* rubocop cleanup (#2170)

* version up (#2172)

Co-authored-by: Jack Walker <46417690+jackdwalker@users.noreply.github.com>
Co-authored-by: Isaac Powell <36595182+DeezyE@users.noreply.github.com>
2021-09-24 11:06:47 +10:00
wheatley
694df4c17b Updated config.yaml to remove "" form public v0.5.3.0 v0.5.2.0 2021-09-12 22:15:41 +10:00
wheatley
b0e59d2c55 Release 0.5.2.0 (#2167)
* fixed offline zombie not deleting

* Bump jsdoc-to-markdown from 6.0.1 to 7.0.1 (#2161)

Bumps [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown) from 6.0.1 to 7.0.1.
- [Release notes](https://github.com/jsdoc2md/jsdoc-to-markdown/releases)
- [Commits](https://github.com/jsdoc2md/jsdoc-to-markdown/compare/v6.0.1...v7.0.1)

---
updated-dependencies:
- dependency-name: jsdoc-to-markdown
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bug: Core - 1785 Fixed public hook url configuration settings (#2163)

* added spec file for testing changes

* added local host getter to configuration class

* added default value 0.0.0.0 for local host if it's not set

* added port config getter with default

* added port config getter with default

* fixed spelling errors for port

* added public configuration values and validation

* removed logic from public port as it was not required

* added beef host to configuration class

* added beef port to configuration class and removed default http.port logic from public_port

* fixed rubocop errors and refactored spec tests

* added beef host configuration values used for external resources

* added beef url to configuration

* added spec file for testing changes

* added local host getter to configuration class

* added default value 0.0.0.0 for local host if it's not set

* added port config getter with default

* added port config getter with default

* fixed spelling errors for port

* added public configuration values and validation

* removed logic from public port as it was not required

* added beef host to configuration class

* added beef port to configuration class and removed default http.port logic from public_port

* fixed rubocop errors and refactored spec tests

* added beef host configuration values used for external resources

* added beef url to configuration

* created command spec file

* add before statement to load all enabled modules to test command class

* add spec to check if configuration instance exists by setting and accessing a config variable

* updated http proto for beef host

* reverting changes on this file, dev values set

* removed some unessessary checks

* fixed grammar test now we're only testing one configuration attribute

* added hook url for contextual usage

* refactoring admin_ui with new code usage

* fixed issue with the location of the beef.http.https.public_enabled

* refactored powershell module and extension

* adding the new config setting for public https beign enabled

* refactor qrcode extension

* replace video fake plugin refactor

* social engineering refactoring

* phonegap module refactoring

* exploit refactoing

* network module refactoing

* ipec module refactoring

* host module refactoring

* debug refactoring

* browser refactoring

* social engineering extension refactoring

* core main server refactoring

* core main console banner refactoring

* removing dev test

* fixed area with location of http.https.enabled

* changed the hook url definition to return the hook file path

* updated banners to use new configuration getters

* updated extensions and modules with the hook url change

* added new public.host configuration settings and validations for depicated usage of public

* updated to use public.port configuration

* added validation for old configuration public_port

* updated to use public https configuration setting

* updated config with new settings format

* fixed get to point to new locations

* fixed pointer to hook_file_path

* Update extensions/social_engineering/web_cloner/web_cloner.rb

Co-authored-by: bcoles <bcoles@gmail.com>

* updated enabled to enable

* making sure default configuration file does not have preset values

Co-authored-by: bcoles <bcoles@gmail.com>

* bumped versions to 0.5.2.0

* Usability: #2145. Added user input request for beef update within 'beef' install script (#2162)

* added user input request for beef update

* swaped git pull from system to backticks

* flags added for auto update and timout to input

* updated install.txt to reference the update-beef script (#2160)

Co-authored-by: wheatley <wheatand@gmail.com>
Co-authored-by: Isaac Powell <36595182+DeezyE@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bcoles <bcoles@gmail.com>
2021-09-12 21:57:18 +10:00
wheatley
b6425e4a90 Release 0.5.2.0 (#2166)
* fixed offline zombie not deleting

* Bump jsdoc-to-markdown from 6.0.1 to 7.0.1 (#2161)

Bumps [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown) from 6.0.1 to 7.0.1.
- [Release notes](https://github.com/jsdoc2md/jsdoc-to-markdown/releases)
- [Commits](https://github.com/jsdoc2md/jsdoc-to-markdown/compare/v6.0.1...v7.0.1)

---
updated-dependencies:
- dependency-name: jsdoc-to-markdown
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bug: Core - 1785 Fixed public hook url configuration settings (#2163)

* added spec file for testing changes

* added local host getter to configuration class

* added default value 0.0.0.0 for local host if it's not set

* added port config getter with default

* added port config getter with default

* fixed spelling errors for port

* added public configuration values and validation

* removed logic from public port as it was not required

* added beef host to configuration class

* added beef port to configuration class and removed default http.port logic from public_port

* fixed rubocop errors and refactored spec tests

* added beef host configuration values used for external resources

* added beef url to configuration

* added spec file for testing changes

* added local host getter to configuration class

* added default value 0.0.0.0 for local host if it's not set

* added port config getter with default

* added port config getter with default

* fixed spelling errors for port

* added public configuration values and validation

* removed logic from public port as it was not required

* added beef host to configuration class

* added beef port to configuration class and removed default http.port logic from public_port

* fixed rubocop errors and refactored spec tests

* added beef host configuration values used for external resources

* added beef url to configuration

* created command spec file

* add before statement to load all enabled modules to test command class

* add spec to check if configuration instance exists by setting and accessing a config variable

* updated http proto for beef host

* reverting changes on this file, dev values set

* removed some unessessary checks

* fixed grammar test now we're only testing one configuration attribute

* added hook url for contextual usage

* refactoring admin_ui with new code usage

* fixed issue with the location of the beef.http.https.public_enabled

* refactored powershell module and extension

* adding the new config setting for public https beign enabled

* refactor qrcode extension

* replace video fake plugin refactor

* social engineering refactoring

* phonegap module refactoring

* exploit refactoing

* network module refactoing

* ipec module refactoring

* host module refactoring

* debug refactoring

* browser refactoring

* social engineering extension refactoring

* core main server refactoring

* core main console banner refactoring

* removing dev test

* fixed area with location of http.https.enabled

* changed the hook url definition to return the hook file path

* updated banners to use new configuration getters

* updated extensions and modules with the hook url change

* added new public.host configuration settings and validations for depicated usage of public

* updated to use public.port configuration

* added validation for old configuration public_port

* updated to use public https configuration setting

* updated config with new settings format

* fixed get to point to new locations

* fixed pointer to hook_file_path

* Update extensions/social_engineering/web_cloner/web_cloner.rb

Co-authored-by: bcoles <bcoles@gmail.com>

* updated enabled to enable

* making sure default configuration file does not have preset values

Co-authored-by: bcoles <bcoles@gmail.com>

* bumped versions to 0.5.2.0

* Usability: #2145. Added user input request for beef update within 'beef' install script (#2162)

* added user input request for beef update

* swaped git pull from system to backticks

* flags added for auto update and timout to input

* updated install.txt to reference the update-beef script (#2160)

Co-authored-by: Andrew Wheatley <a@andrews-mini.home>
Co-authored-by: Isaac Powell <36595182+DeezyE@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bcoles <bcoles@gmail.com>
2021-09-12 21:33:02 +10:00
wheatley
c96b5e8968 Update ISSUE_TEMPLATE.md
bumped version
2021-09-12 17:50:24 +10:00
dependabot[bot]
27e58a714d Update rubocop requirement from ~> 0.92.0 to ~> 1.20.0 (#2154)
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v0.92.0...v1.20.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-04 20:07:06 +10:00
wheatley
16e14c6f2e Release 0.5.1.0 (#2156)
* updated version to 5.0.1.0 in package.json

* updated version to 5.0.1.0 in VERSION

* updated version to 5.0.1.0 in config.yml

* removed Active Record section

* cleanup bundle related folders and added to .gitignore

* bumped tag url in ISSUETEMPLATE

* updating version to 0.5.1.0

* readding .bundle/config as we do not want users to automatically install dev/test gems

* fixed spelling mistake of .bundle
v0.5.1.0
2021-09-04 14:56:47 +10:00
wheatley
9f7dcdf250 Testing: Fixed error running social_engerring_spec 2021-08-24 19:15:38 +10:00
jcrew99
15af383355 Merge pull request #2134 from beefproject/otr-activerecord-update
OTR-ActiveRecord update: added to manually call the database connection
2021-07-20 01:49:58 +10:00
jcrew99
b4dae0f58b Updating Gemfile lock as suggested 2021-07-20 01:43:34 +10:00
jcrew99
588e32966a changed from 2.0 to 1.4.2 2021-07-18 13:36:28 +10:00
jcrew99
6d882b5016 removed the lock on the activerecord gem 2021-07-18 13:12:13 +10:00
jcrew99
d959956271 added a check for the version added 2021-07-18 13:05:15 +10:00
bcoles
702dfbd878 Merge pull request #2127 from wheatley/defect/2010_could_not_find_table_webcloners
Rename the WebCloner model class to align with ActiveRecord syntax
2021-07-13 21:49:13 +10:00
whealtey
681511358e moveid the clean up the related method instead of after all tests 2021-07-11 09:14:37 +00:00
whealtey
739b168602 specified the generated web pages for google to be removed 2021-07-11 09:02:56 +00:00
whealtey
0f7567cc4b left byebug in file 2021-07-11 08:37:35 +00:00
whealtey
5d0a499a12 renamed the WebCloner model class to align with ActiveRecord syntax
changed WebCloner name changes in web_cloner.rb
created two tests to support changeswq
2021-07-11 08:18:14 +00:00
bcoles
b58978870d Merge pull request #2123 from 1124219777/master
Fix Firefox detection

Since Firefox 89 the `navigator.mozGetUserMedia()` function is only defined on HTTPS websites.
2021-07-03 20:36:58 +10:00
郭瑞
4bede1bc01 fix FireFix 89.02 mozGetUserMedia == undefined
fix
2021-07-03 18:08:18 +08:00
bcoles
663d8e7489 Merge pull request #2090 from beefproject/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-06-26 01:34:56 +10:00
bcoles
4140300906 Merge pull request #2099 from bcoles/adminui-bookmarklet
AdminUI: Use correct hook file path for bookmarlet hook URL
2021-05-09 00:06:56 +10:00
Brendan Coles
5a65f1610e AdminUI: Use correct hook file path for bookmarlet hook URL 2021-05-08 14:06:25 +00:00
bcoles
fc6ae645d9 Merge pull request #2094 from bcoles/bundle-otr-activerecord
bundle: Lock otr-activerecord to version '~> 1.4.1'
2021-05-08 19:57:00 +10:00
Brendan Coles
42d9e431b7 bundle: Lock otr-activerecord to version '~> 1.4.1' 2021-05-08 09:56:20 +00:00
dependabot-preview[bot]
6638e2e234 Upgrade to GitHub-native Dependabot 2021-04-29 20:59:37 +00:00
bcoles
6adad0911b ISSUE_TEMPLATE: Fix Typo 2021-04-25 10:15:48 +10:00
plan-do-break-fix
f754ee6beb fix(docs): corrects typo in project's ISSUE_TEMPLATE 2021-04-24 18:02:18 -05:00
bcoles
c23a93a84e BeEF Bind payloads: Updates Kali install instructions 2021-04-19 04:23:57 +10:00
Chessmaster
ef8819d78c Update instructions.txt for recent kali linux 2021-04-18 20:16:30 +02:00
bcoles
8acc31f784 Install: Add support for blackPantherOS 2021-04-16 02:02:24 +10:00
blackPanther OS
b8a9eecaf4 Extend distro suppport
Added blackPanther OS specific install strings and requires for use
2021-04-15 10:43:04 +02:00
bcoles
90798571d5 Merge pull request #2056 from P-arag/master
Gmail Phishing: Change redirect URL to https://accounts.google.com/

Update post-login redirection URL from https://accounts.google.com/ServiceLogin to
https://accounts.google.com/
2021-02-11 17:55:55 +11:00
Parag Jyoti Pal
2d19294540 Fixed Gmail Phishing by updating https://accounts.google.com/ServiceLogin to https://accounts.google.com/ 2021-02-11 12:10:49 +05:30
bcoles
845b2db255 Merge pull request #2051 from bcoles/rubocop-extensions-metasploit
rubocop -a extensions/metasploit
2021-01-26 19:22:10 +11:00
Brendan Coles
a26653719c rubocop -a extensions/metasploit 2021-01-26 08:21:36 +00:00
bcoles
6493df8502 Merge pull request #2049 from bcoles/ruby-version
Bump Ruby version from 2.5.3 to 2.7.2
2021-01-26 19:20:23 +11:00
bcoles
b1f9bae470 Merge pull request #2050 from bcoles/rubocop
Rubocop: Bump Ruby version to 2.6 and define new cops
2021-01-26 18:49:21 +11:00
Brendan Coles
b4d549fe48 Rubocop: Bump Ruby version to 2.6 and define new cops 2021-01-26 07:48:13 +00:00
Brendan Coles
f1203ebd68 Bump Ruby version from 2.5.3 to 2.7.2 2021-01-26 07:44:19 +00:00
bcoles
5df9a7f17e Merge pull request #2048 from bcoles/gemfile-nokogiri
Gemfile: Bump nokogiri version from >= 1.10.8 to >= 1.11.1
2021-01-26 18:24:30 +11:00