Bug bounty research: hot or not - 13 Jul 2016
Scornhub - 26 May 2016
The meaning of life tastes like chicken - 24 Feb 2016
fucking astrology man - 09 Dec 2015
Freelance Consulting - 23 Nov 2015
The Wassenaar Effect - 09 Jun 2015
Scantastic! - 11 Feb 2015
It's all fucked - 05 Jan 2015
The tortured poet - 28 Dec 2014
Gone in 660 Seconds - 25 Nov 2014
College Graduation - 20 Nov 2014
Yahoo for the craic! - 21 Sep 2014
IRC what you did there... - 02 Aug 2014
Let me Bug you!? - 19 Jun 2014
Plesk 10 & 11 SSO XXE/XSS - 09 May 2014
Final Year Woes - 24 Apr 2014
SWMing in privilege, or drowning? - 10 Apr 2014
Lucid Surrealist Dreams and techno-lust. - 23 Mar 2014
New Raspberry piToy - 05 Feb 2014
Happy 2014! - 15 Jan 2014
Helpdesk Pilot Xss/CSRF Add an Admin - 30 Nov 2013
Squidoo.com $1,100 bug bounty - 02 Nov 2013
Yahoo Xss bug bounty - 01 Oct 2013
Moodle 2.0 Account Takeover - 04 Sep 2013
Xss Challenge Accepted - 17 Aug 2013
rpliy - rpi python web player - 25 Jul 2013
Busy times - 10 Jul 2013
Source Conference - 27 May 2013
Coinbase.com bug bounty - 04 May 2013
Xssive, Moodle and CSRF - 11 Apr 2013

Yahoo Pipes is Great! - 05 Mar 2013
Science Hack-day Dublin - 03 Mar 2013
Simple port scan - 26 Feb 2013
4chan-tool.py - 19 Feb 2013
Wix.com Xss - 11 Feb 2013
Crawl.py Url Crawling - 09 Feb 2013
Xssive Demo tool - 12 Jan 2013
Cyberbullying? - 27 Dec 2012
Merry XssMas - 24 Dec 2012
Watching BBC Streams - 10 Dec 2012
SWF Disassembly - 26 Nov 2012
C <3 - 16 Nov 2012
Greasemonkey XSS 2 - 21 Oct 2012
Work Logging App - 20 Oct 2012
Greasemonkey XSS - 30 Sep 2012
Guestbook XSS - 18 Sep 2012
OWASP Vicnum Project - 05 Sep 2012
August... - 05 Sep 2012
XSS Scenarios. - 30 Jul 2012
Imageroll - 06 Jul 2012
The Dangers of XSS - 14 Jun 2012

US Threat Gauge - 30 May 2012
Is this art? - 28 May 2012
Rss2Irc - 25 May 2012
Blackboard Xss Jungle - 14 May 2012
Url Info Scraper - 10 May 2012
pythonchallenge.com - 27 Apr 2012
Prime Generator - 15 Apr 2012
Sockso 1.51 Xss - 07 Apr 2012


Ubuntu 10.10 Hardening - 18 Mar 2012
2nd Year Revisited - 17 Mar 2012

C <3

The title of this blog post covers pretty much everything I want to say... Our first C assignment in college was tough as hell, but I also found it amazingly rewarding. Before we were given this assignment, we had pretty much zero practice or knowledge of C, only what we learned from previous C++ assignments. We were thrown in deep and expected to float. As a software engineer I assume that's how things will work from now on as I enter this career.

My only experience with C before this assignment was using gdb to exploit simple buffer overflows or format string vulnerabilities or the likes in wargames/ctf's or challenges I may have tried. Of course I learned quite a bit from such exercises, but not enough to easily breeze through the challenge this assignment presented. It dealt with Posix threads and signals.

The problem simplified:
Write a C program that prints out all the words in a file. One thread prints out the first word and the Second thread prints out the next word, the first then prints the third word and the cycle continues until the end of the file.
There were also a few other rules added to make it that little bit extra difficult.
1. After reading a word from the file but before printing it to the screen each printing thread must sleep for a random number of microseconds (up to 10000).
2. A main thread coordinates the actions of the two printing threads Unix signals are used for inter-thread communication and to avoid busy-waiting.The main thread cancels the other threads when the last word has been printed
3. Each cancelled thread prints out a farewell message as it exits.
4. Can't use semaphores or mutexes of any kind...

This is the challenge... Thankfully the assignment had to be completed in groups of two. It was nice to bounce ideas off another wizard of a person/programmer (Vadimck). I feel it helped greatly with the learning process. We ran into many issues during the process, memory access issues, signals causing the whole program to end, or individual threads to shut down. All the wonderful segmentation faults one would expect in their first time playing with C. It was a very enjoyable/hard learning curve, I feel my C programming has come on leaps and bounds. I'm not afraid anymore to lookup docs or disassemble using gdb to find bugs. Our solution worked very well, we even tried it with a dictionary file. It ate the bastard.

Without further adieu, here is Our Amazing Assignment Solution.. It can be compiled with gcc -pthread -o assignment assignment.c You also need to pass in the text file, so run ./assignment filename.txt. In C it takes a lot longer to do things right but when you do it's so rewarding. I really want to give myself a few more projects in it to get more acquainted with this sexC beast.

In other unrelated news, I've been working hard on both college and work. I also acquired myself an internship from April 2013 - September 2013 in HEAnet.ie as a Network Engineer. Hopefully I will come out the other end a well experienced networking wizard! DELIGHTED!

HAX BRAH.