# uninstall all previous trials of rvm (modify .bash_profile and remove)
rm -rf .rvm*
# latest stable in my time was 2.0.0-p247
curl -L https://get.rvm.io | bash -s stable --ruby
# obviously this install does not modify profile
source ~/.rvm/scripts/rvm
# just looking
rvm list known
ruby --version
# switch from apples version ruby 1.8.7 to "latest"
rvm use ruby-2.0.0-p247
#
rvm gemset create beef
rvm use ruby-2.0.0-p247@beef
# swich to cloned source
cd ~/beef/
# make ruby in this folder to be 2.0.0
echo 'rvm use ruby-2.0.0-p247@beef' > .rvmrc
# install
bundle install
# run
source ~/.rvm/scripts/rvm
rvmsudo ./beef
Showing posts with label Security. Show all posts
Showing posts with label Security. Show all posts
Sunday, November 17, 2013
rvm and ruby for some beEF on OSX
There are many articles, some of them did not work for me
and may not work for you… This is what I have made to succeed:
Friday, December 16, 2011
Thursday, June 16, 2011
CWE-601: oracle.com
Browse the link and logon, if you have account with them.
http://www.oracle.com/webapps/redirect/signon?nexturl=http://ainthek.blogspot.com/
------------------------------------
So they have "fixed" client side problem
http://ainthek.blogspot.com/2011/05/client-side-xss-documentwritelocationhr.html.
and kept more serious
CWE-601: URL Redirection to Untrusted Site ('Open Redirect') still open ?
nice ....
http://www.oracle.com/webapps/redirect/signon?nexturl=http://ainthek.blogspot.com/
------------------------------------
So they have "fixed" client side problem
http://ainthek.blogspot.com/2011/05/client-side-xss-documentwritelocationhr.html.
and kept more serious
CWE-601: URL Redirection to Untrusted Site ('Open Redirect') still open ?
nice ....
Saturday, May 28, 2011
Client side XSS: document.write(location.href)
Is this safe ?
(C) www.orace.com
UPDATE: 16.6.2011
Somehow they decided to fix it ? based on this article ? I dont believe so, if yes please next time give some credits by comment ;-)
Any ideas now ?
(C) www.orace.com
if (USER.guid) {
document.write('Welcome ' + USER.firstname + ' ( <a class=profile href=https://myprofile.oracle.com/EndUser/faces/profile/sso/updateUser.jspx?nextURL=' + location.href + '\>' + 'Account' + '<\/a> | <a class=profile href=/us/corporate/contact/about-your-account-070507.html>' + 'Help' + '<\/a> | <a class=profile href=javascript:sso_sign_out();>' + 'Sign Out' + '<\/a> )');
}
else {
document.write('<span class=profile>( ' + ' <a href=http://www.oracle.com/webapps/redirect/signon?nexturl=' + location.href + '>Sign In/Register for Account</a> ' + ' <span style=color: rgb(0, 0, 0)>|</span> ' + '<a href=/us/corporate/contact/about-your-account-070507.html>Help</a>' + ' )</span>');
}UPDATE: 16.6.2011
Somehow they decided to fix it ? based on this article ? I dont believe so, if yes please next time give some credits by comment ;-)
if (USER.guid) {
document.write('Welcome ' + USER.firstname + ' ( <a class=profile href=https://myprofile.oracle.com/EndUser/faces/profile/sso/updateUser.jspx?nextURL=' + encodeURI(location.href) + '\>' + 'Account' + '<\/a> | <a class=profile href=/us/corporate/contact/about-your-account-070507.html>' + 'Help' + '<\/a> | <a class=profile href=javascript:sso_sign_out();>' + 'Sign Out' + '<\/a> )');
}
else {
document.write('<span class=profile>( ' + ' <a href=http://www.oracle.com/webapps/redirect/signon?nexturl=' + encodeURI(location.href) + '>Sign In/Register for Account</a> ' + ' <span style=color: rgb(0, 0, 0)>|</span> ' + '<a href=/us/corporate/contact/about-your-account-070507.html>Help</a>' + ' )</span>');
}Any ideas now ?
Monday, January 3, 2011
Danger of InternalResourceViewResolver (Spring)
Sping's InternalResourceViewResolver will servre pages OUTSIDE of specified prefix:
http://www.aitk.info/Danger%20of%20InternalResourceViewResolver%20(Spring).pdf
http://www.aitk.info/Danger%20of%20InternalResourceViewResolver%20(Spring).pdf
Subscribe to:
Posts (Atom)
