Jump to content
UBot Underground

How To Insert Data With Commas Into A Single Table Cell ?


Recommended Posts

Hello fellas,

 

Q1. Looking at the following script, can anybody spot why Ubot fails to insert the whole javascript into a single column (column 2, row 0) ?

 

 

create table from text(&user details,"first name,last name,<script type="text/javascript"> 
</script>")

 

 

Q2.

The following script, not only spreads the javascript into many columns but many rows too due to the javascript having many commas "," that usually represent a cell in a csv file.

Now how to fix this so the commas inside the javascipt code does not get counted the following whole code is placed inside a single cell (column 2, row 0) ?

 

create table from text(&user details,"first name,last name,<script type="text/javascript"> 
var adfly_id = 1234567; 
var domains = ['depositfiles.com', 'rapidshare.com', 'vip-file.com', 'smsfiles.ru', '4files.net', 'turbobit.ru', 'uploading.com', 'letitbit.net', 'depositfiles.ru', 'sms4file.com', 'ifolder.ru', 'hotfile.com', 'anyfiles.net', 'sharingmatrix.com', 'megashare.com', 'megaupload.com', 'rapidshare.de', 'rapidshare.ru', 'uploadbox.com', 'filefactory.com', 'filefactory.ru', 'filepost.ru', 'onefile.net', 'freefolder.net', 'getthebit.com', 'turbobit.net']; 
</script>")

Edited by bangali_beta
Link to post
Share on other sites

Q1. Because the quotes are not escaped as well as the closing script tag being on a new line. Because you are using create table from text each new line is a new row, try this:

create table from text(&user details,"first name,last name,<script type=\"text/javascript\"></script>")

Q2. Quote the columns who have commas in the so they don't seperate into new columns, and again keep it on the same line

create table from text(&user details,"first name,last name,\"<script type=\"text/javascript\">var adfly_id = 1234567; var domains = [\'depositfiles.com\', \'rapidshare.com\', \'vip-file.com\', \'smsfiles.ru\', \'4files.net\', \'turbobit.ru\', \'uploading.com\', \'letitbit.net\', \'depositfiles.ru\', \'sms4file.com\', \'ifolder.ru\', \'hotfile.com\', \'anyfiles.net\', \'sharingmatrix.com\', \'megashare.com\', \'megaupload.com\', \'rapidshare.de\', \'rapidshare.ru\', \'uploadbox.com\', \'filefactory.com\', \'filefactory.ru\', \'filepost.ru\', \'onefile.net\', \'freefolder.net\', \'getthebit.com\', \'turbobit.net\']; </script>\"")
  • Like 2
Link to post
Share on other sites

 

Q1. Because the quotes are not escaped as well as the closing script tag being on a new line. Because you are using create table from text each new line is a new row, try this:

create table from text(&user details,"first name,last name,<script type=\"text/javascript\"></script>")

Q2. Quote the columns who have commas in the so they don't seperate into new columns, and again keep it on the same line

create table from text(&user details,"first name,last name,\"<script type=\"text/javascript\">var adfly_id = 1234567; var domains = [\'depositfiles.com\', \'rapidshare.com\', \'vip-file.com\', \'smsfiles.ru\', \'4files.net\', \'turbobit.ru\', \'uploading.com\', \'letitbit.net\', \'depositfiles.ru\', \'sms4file.com\', \'ifolder.ru\', \'hotfile.com\', \'anyfiles.net\', \'sharingmatrix.com\', \'megashare.com\', \'megaupload.com\', \'rapidshare.de\', \'rapidshare.ru\', \'uploadbox.com\', \'filefactory.com\', \'filefactory.ru\', \'filepost.ru\', \'onefile.net\', \'freefolder.net\', \'getthebit.com\', \'turbobit.net\']; </script>\"")

 

Cheers Nick!

 

Will try it and see how it goes. :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...