I hereby claim:
- I am xntrik on github.
- I am cfrichothashi (https://keybase.io/cfrichothashi) on keybase.
- I have a public key ASDncgWa_6_U6Mlbdd61BX-9QJLKLLdNxMBGioFrGt8J4Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
9:00AM - 9:15AM | OURSA OPENING REMARKS | https://youtu.be/pcUDzHb4Gdo?t=23m50s | |
Parisa Tabriz, Google | |
Michelle Zatlyn, Cloudflare | |
9:15AM - 10:45AM | ADVOCATING FOR HIGH-RISK GROUPS | https://youtu.be/pcUDzHb4Gdo?t=36m10s | |
Chair: Adrienne Porter Felt, Google | |
Panel Moderator: Sheera Frenkel, New York Times | |
Speakers: |
{"name": "DORMANT RULE TEST", | |
"author": "bcoles,xntrik", | |
"browser": ["FF", "C"], | |
"browser_version": "ALL", | |
"os": "ALL", | |
"os_version": "ALL", | |
"modules": [ | |
{"name": "ping_sweep", | |
"condition": null, | |
"code": "var s=outer_sequential_mod_output.split('.');var start = s[0]+'.'+s[1]+'.'+s[2]+'.117'; var end = s[0]+'.'+s[1]+'.'+s[2]+'.120'; var mod_input = start+'-'+end;", |
var ping_sweep_68a01c7d83 = function(mod_input){ | |
beef.execute(function() { | |
var ips = new Array(); | |
var rhosts = mod_input; | |
var threads = parseInt("6", 10) || 3; | |
var timeout = 1000; | |
if(!beef.browser.hasCors()) { | |
beef.aredormanthelpers.queue('/command/ping_sweep.js', 1, 'fail=Browser does not support CORS', beef.are.status_error()); |
{ | |
"modules": [ | |
{"name": "get_internal_ip_webrtc", | |
"condition": null, | |
"code": null, | |
"options": {} | |
}, | |
{"name": "internal_network_fingerprinting", | |
"condition": "status==1", | |
"code": "var s=get_internal_ip_webrtc_mod_output.split('.');var start=parseInt(s[3])-1;var end=parseInt(s[3])+1;var mod_input = s[0]+'.'+s[1]+'.'+s[2]+'.'+start+'-'+s[0]+'.'+s[1]+'.'+s[2]+'.'+end;", |
border: no |
#!/bin/bash | |
# Dependencies: awscli - see https://aws.amazon.com/cli/ | |
# Some of this is pilfered from | |
# https://github.com/awslabs/aws-codedeploy-samples | |
# | |
# How to use: | |
# ./aws-manage.sh <instance id> <dns-record> <dns-type> <up|down> | |
# | |
# For example: | |
# ./aws-manage.sh i-7337 xntrik.wtf A up |
Most of the logic resides in https://github.com/beefproject/beef/tree/master/core/main/client | |
https://github.com/beefproject/beef/blob/master/core/main/client/beef.js establishes the beef object in the browser's DOM | |
window.onload then runs beef_init() https://github.com/beefproject/beef/blob/master/core/main/client/init.js#L24 | |
Within beef_init() we run beef.net.browser_details() https://github.com/beefproject/beef/blob/master/core/main/client/init.js#L67 | |
Within beef.net.browser_details() we gather response from beef.browser.getDetails() https://github.com/beefproject/beef/blob/master/core/main/client/net.js#L503 |
~/beef/beef2015nov ± gem list | |
*** LOCAL GEMS *** | |
bigdecimal (1.2.6) | |
io-console (0.4.3) | |
json (1.8.1) | |
psych (2.0.8) | |
rake (10.4.2) | |
rdoc (4.2.0) |
~/beef/beef2015jun ± rake integration | |
Starting BeEF (wait a few seconds)..................... | |
export DISPLAY=:0; cd test/integration;ruby -W0 ts_integration.rb | |
Loaded suite BeEF Integration Test Suite | |
Started | |
...E | |
=============================================================================================================================================================================================================================== | |
Error: test_hooking_browser(TC_Login): Capybara::Ambiguous: Ambiguous match, found 3 elements matching link or button "127.0.0.1" | |
/Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/node/finders.rb:38:in `block in find' | |
/Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize' |