Skip to content

Commit

Permalink
Merge pull request pentestgeek#202 from Meatballs1/beef_status
Browse files Browse the repository at this point in the history
Correct BeEF system status
  • Loading branch information
zeknox committed Jul 18, 2015
2 parents 9e0a94c + 5b5e125 commit 33a7937
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/system_monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def self.metasploit

# determine if BeeF is running
def self.beef
beef_output = `ps aux | grep beef | grep -v color`
beef_output = `ps aux | grep '[b]eef'`
beef_output =~ /beef/
end

Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/_system_status.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<% end %>
<% if @beef %>
<li><%= link_to("#{PhishingFramework::SITE_URL}:3000/ui/panel", target: "_blank") do %>
<span class="label label-success">BeeF</span>
<span class="label label-success">BeEF</span>
<% end %></li>
<% else %>
<li><%= link_to("#") do %>
Expand Down Expand Up @@ -59,4 +59,4 @@
<% end %>
</ul>
</li>
</ul>
</ul>

0 comments on commit 33a7937

Please sign in to comment.