Every time I watch space documentaries or look up at the stars at night, or think about things on a universal scale, my troubles melt away. Perspective is a very powerful tool for overcoming the stresses of everyday life. In this video, I aim to put everything into perspective by pondering the scale of the universe, and the stuff you’re made of.
Everyone feels directionless at some point in their life. Here are some things that have helped me through these phases, and helped me to find direction.
@stokfredrik (STÖK) is an inspirational, motivational hacker, bug bounty hunter, entrepreneur, vegan and content creator. In this interview we chat about mental health, hacking, content creation, sunglasses, haircare, COVID19, veganism and entrepreneurship!
Casey is an A-Grade distruptor, a successful entrepreneur, a pioneer in crowd-sourced security, the founder and CTO or Bugcrowd, a hacker, musician, family man, and all-round great human. In this interview we chat about his childhood, inspiration, motivation, previous businesses, views on life, productivity hacks, work/life balance, entrepreneurship, cyber security, and the power of surrounding yourself with good people. If you’re curious, I tracked down some of his music on Soundcloud: https://soundcloud.com/caseyjohnellis I’m fairly sure that this is the TV show that he hosted, although I can’t find any videos of him actually hosting – let me know if you can! https://www.youtube.com/user/crewtvaus
How to start that thing, whether it's a business, or something else in your life, hopefully this video offers you the inspiration and motivation to start.
The first step (and the most difficult) to achieving anything that you want is to start. Why is it so hard, and how can we overcome these limiting habits?
In this video I speak about this, and offer some suggestions that have helped me in the past.
Surge.sh flies under the radar of many, but it’s pretty common among static-site developers. Personally, I find it to be the best place for hosting my XSS payloads. It’s free, easy, they provide SSL, and you can deploy scripts in (literally) seconds.
Earlier today I made a Tweet about how good Surge is for hosting XSS payloads, and a lot of people seemed to like it.
There were some comments that were asking about how to set it up, so I thought I’d write a blog about it.
Let’s say that you have found a nice little XSS, and you’ve managed to write a nice JavaScript payload to perform a full account takeover (as outlined in my blog, How to Upgrade Your XSS Bugs From Medium to Critical). The problem is, you need somewhere to host the payload. It can’t be over plain HTTP because otherwise you will face mixed-content errors. You can use Ngrok, but that means you need to keep your home computer on until your bug gets triaged which is not ideal. If you post it to Github pages then everyone can see notifications when you add the script, which gives away your PoC and tells the world which host is vulnerable.
I have been searching for the perfect way to do this for a long time, and I’ve finally found it. Surge.sh! This blog post will show you how to set up surge.sh to deploy your JavaScript payloads in seconds.
Installation
First you will need to install NodeJS, which you can download here: https://nodejs.org/en/
Run the following command to install the surge CLI tool
npm install --global surge
That’s it, you’ve installed surge.
Deploying Your Payload
Create an empty directory and navigate to it.
mkdir mypayload
cd mypayload
Create your JavaScript payload (or any static website).
echo "alert(1)" > payload.js
Run “surge” to deploy all files in the current directory, which should just be payload.js if you have been following along.
surge
The first time you run surge, it will ask for your email and a password. Once you’ve set that up it won’t ask you again.
The screenshot below shows the whole deployment process.
The surge command usually takes a few seconds. Once it’s done, your payload will be accessible at the subdomain that you specified. In this case, I just used the automatically chosen one, which happened to be kind-wrench.surge.sh. So now my JavaScript file is accessible at https://kind-wrench.surge.sh/payload.js
I should say that Surge isn’t just for XSS payloads, it is very good at hosting full static sites.