It gets very repetitive writing forms for clients – that’s why I decided to take the last hour to write this piece of fine code.

It takes whatever title you give a form object and creates a copy / paste dump for your view, controller and Javascript.  It doesn’t handle checkboxes or select boxes – but that is because I find the form is not the time killer; it’s the Javascript and validation.  The nice part is that most of the heavy lifting is done for you – plus you do not have to worry about spelling mistakes or silly syntax stuff because it is all duped in the script.

I’d like to pop this up on a subdomain after making it pretty – please comment if you think you will find this little app useful.

PS. During the recording I noticed a small error in the code – no need to comment, it is fixed now.  The json_encoded array was returning a value that would not display in the error fields due to a mismatch in the name.

UPDATE : Check Out the Application Here!

I have fully tested the generated code and it works great, here’s a video demonstrating how to use “FormTorch”.

It is crunch time.

I have completed a working (very basic) DNS box passing NAPTR records for e164.  We no longer need a Bind expert, I read a few books and the system appears to be working great.

For those of you who are interested in testing this service – hit up http://enumplus.org and create an account.  You will immediately have access to add new records as well as validate your DID and SIP URI right away – no more waiting for a scheduled call that rarely works…

At this point it is only open to North American DID’s as I am not rich and can’t call overseas until I get some capital. For this to work you must edit your enumlookup.agi script and add enumplus.org to the domain lookup array (or patch your enumlookup.agi file).  I plan to release a quick script to make enumlookup work out of the box – I have also mentioned it to other high ranking individuals.

This project has been offered hosting left and right – I guess people are interested so  the faster we get some feedback – the faster you get a quality ENUM host for your DID’s.

Send me feedback!

There are tons of giveaways and contests out there that make you jump through hoops filling out way too much information only to receive a million unwanted emails.  I have set my browser homepage to one I really do not like in order to remind myself to fill out the form every day (I will not tell you which one because I want to win!).

A Quick Briefing : cURL is used to send / receive data to and from other computers via command line.  Since I know PHP quite well I decided to install the php-curl module and instantly got an automated spambox, data grabber, post submitter and whatever else one can do with a normal browser – the best part is I only have to set it up once.

I now have a crontab installed to spoof a web server into thinking I am being referred from an affiliate link, in which it then sends my information as well as some hidden values and instantly generates a report (which is emailed to me).  I know this is shady business however the last thing I won was a Nevada pull ticket when I was 8 and I couldn’t claim the winnings – fuck you world LOL.

Here is just a taste of something you can set up yourself – should be quite simple to modify to your needs.


#!/usr/bin/php
$name = "Gregory";
$email = array("email1@gmail.com", "email2@yahoo.com", "email3@slopsbox.com");
$zip_code = "90210";
$url = 'http://the-url-to-post-to.com';
$user_agent = "Mozilla/5.0 (compatible; MSIE 5.01; Windows NT 5.0)";
$referer = 'http://crappy-affiliate-program.com/index.php?affiliate=poor_sucker";
foreach ($email as $mail) {
$params = "name=$name&email=$mail&zip_code=$zip_code&hidden_value1=someValue";
$ch = curl_init();
curl_setopt($ch, CURLOPT_REFERER, $referer);
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$result=curl_exec ($ch);
curl_close ($ch);
}
?>

Really all you have to do is investigate the <form…> on the page you are attempting to post to – examine all text inputs, textareas, checkboxes, radio buttons and hidden values. You should be able to form the POST data string, similar to JSON (key=>value pairs).

As for captcha, just hope your target is either lazy or stupid – most of those things are a pain in the rear end.

Enjoy!