This is where the idea of running BeEF on an Amazon EC2 instance started to simmer.
These days, the BeEF project uses IaaS and other cloud-esque services for a lot of the work. We have our continuous integration server running tests against our github hosted source code, heck, even this blog utilises SaaS (note to readers: if you think *aaS isn't already used throughout your organisation, you are sorely mistaken).
So here's a quick and dirty method to get you running the latest version of BeEF with an Amazon EC2 instance in no time. Before we begin though, this installation method is heavily inspired from RVM's installation method, so this will look familiar to RVM users.
You might be thinking, why not just create a canned Amazon Machine Image (AMI) of BeEF? When we considered all the different Amazon regions in which we'd have to host an AMI image, this method was just as simple, especially when dealing with all the changes to the framework over time. This process is still in its infancy though, so expect it to change in the future as the framework matures.
You might be thinking, why not just create a canned Amazon Machine Image (AMI) of BeEF? When we considered all the different Amazon regions in which we'd have to host an AMI image, this method was just as simple, especially when dealing with all the changes to the framework over time. This process is still in its infancy though, so expect it to change in the future as the framework matures.
Step 1:
Create a fresh "Amazon Linux AMI" instance (if you're impatient the c1.xlarge can be up and running in about 5 mins, otherwise you can use the smaller instances).
Create a fresh "Amazon Linux AMI" instance (if you're impatient the c1.xlarge can be up and running in about 5 mins, otherwise you can use the smaller instances).
Step 2.
SSH into the instance
Step 3.
At the prompt:
$ bash < <(curl -s https://raw.github.com/xntrik/beefcloud/master/beef-installer)
Step 4.
Re-activate rvm:
$ source ~/.bash_profile
Step 5.
Change into the beef folder:
$ cd beef
Step 6.
Run beef:
$ ./beef
Step 7.
...
Step 8.
Profit!
Under the hood, the beef-installer script is simply:
- Installing dependencies with yum
- Downloading RVM
- Installing RVM
- Using RVM to install OpenSSL and Ruby 1.9.2
- Installing the 'bundler' gem (required for BeEF)
- Cloning the latest BeEF from github
- Going into the beef folder
- Running bundler to install BeEF's gem dependencies
I like step 8.
ReplyDeleteGreat Article
DeleteAngular Development Company
Angular Training in CHennai
Angular Training in Chennai.
Profit! .. we find that's many people's favourite step.
ReplyDeleteThis is a really good idea and I've been running BeEF on a Amazon Linux AMI for a week or so. Inevitably I lose the SSH terminal sometimes so I can no longer monitor the beef activity. More serious than that, How do I gently stop beef from a new terminal window without leaving a whole bunch of stuff hanging. 'kill beef' causes a whole bunch of problems :(
ReplyDeleteOk got it. Start BeEF with
Deletescreen ./beef
Then ctrl-d to quit the screen session. To get it back use
screen -r
Stopping BeEF gently is
kill -sigint
And restart cleanly
./beef --reset
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDelete
ReplyDeleteThanks for posting this useful content, Good to know about new things here, Let me share this, . CCNA training in pune
I have read your article, it make t shirts is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it
ReplyDeleteHats off to your presence of mind..I really enjoyed reading your blog. I really appreciate your information which you shared with us.
ReplyDeleteAws Online Training
Great Article..ASP.NET Web API Online Training
DeleteASP.NET Web API Training
Java Web Services Online Training
The first time I saw this website, I was immediately attracted to zoom. Moreover, all the information is in my opinion quite interesting and intriguing. I hope you also visit my website and pass judgment on Costa Calida my website. Thanks.
ReplyDeleteJual Obat Aborsi
ReplyDeleteObat Aborsi
Obat Penggugur Kandungan
Jual Obat Cytotec
Jual Obat Aborsi Ampuh
Jual Obat Aborsi Asli Tuntas
Cara Menggugurkan Kandungan Janin
Obat Aborsi Asli Aman
Obat Aborsi Cytotec
Jual Obat Cytotec
Jual Cytotec Asli
Jual Cytotec
Klinik Obat Aborsi
Jual Obat Aborsi Cytotec
Jual Obat Aborsi Asli Ampuh
Obat Aborsi Asli
Obat Aborsi
Jual Obat Aborsi Asli Manjur
Obat Penggugur Kandungan Ampuh
Jual Obat Aborsi Online
Jual Obat Aborsi Asli Aman
Obat Penggugur Janin
Jual Obat Aborsi Kandungan
Obat Aborsi kandungan
Jual Obat Aborsi Kandungan Asli
Obat Aborsi Cytotec Asli
Jual Obat Aborsi Cytotec Ampuh
Obat Penggugur Kandungan Asli
Jual Obat Cytotec
Jual Obat Cytotec Asli
Jual Cytotec
Klinik Aborsi Aman
Jual Obat Aborsi Asli
Jual Obat Aborsi
Jual Obat Aborsi Asli
Jual Obat Aborsi Asli Ampuh
Jual Obat Aborsi Asli Tuntas
Jual Obat Aborsi Asli Manjur
Obat Penggugur Kandungan Aman
Obat Aborsi
Jual Obat Aborsi Cytotec Asli
Obat Aborsi Asli
Klinik Aborsi
Jual Obat Aborsi Ampuh
Jual Obat Aborsi Cytotec Ampuh
Jual Obat Aborsi Cytotec Asli
Jual Obat Aborsi Tuntas
Jual Obat Aborsi
Obat Aborsi Ampuh
Obat Aborsi
Obat Aborsi Asli Ampuh
Obat Aborsi Penggugur Kandungan
http://obat-aborsi99.com/uncategorized/jual-obat-aborsi-cytotec/
ReplyDeleteJual Cytotec Obat Aborsi, Obat Penggugur Kandungan & Janin,
jual obat aborsi kandungan
Jual Obat Aborsi, Obat Penggugur Kandungan, Jual Obat Aborsi Tuntas, Jual Obat Aborsi Ampuh
Jual Obat Aborsi, Obat Penggugur Kandungan Ampuh