Skip to content

Conversation

@h4sh5
Copy link
Contributor

@h4sh5 h4sh5 commented Jan 17, 2020

Category

Bug #1851

Feature/Issue Description

Fixing requester extension not working issue. Mostly fixing active record, but also some interesting bugs in the requester handler

Test cases

spec/beef/extensions/requester_spec.rb

  • added a functional test using BeefTest.new_victim. It is hooked, then it requests a page and checks if response exists. Takes quite long to run though (~13 seconds)

To run the functional test, which is by default skipped, change the xit to it in front of the definition: (around line 20)

it 'requester works' do

Relevant wiki page

https://github.com/beefproject/beef/wiki/Proxy-and-requester-extension

Copy link
Contributor

@jcrew99 jcrew99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added to the wiki and the test seems to have issues run in the travis.ci browser, it works in mine as well as @h4sh5 .
This just needs to be part of the testing suite, or possible changed so travis ignores it possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants