Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 203 Vote(s) - 3.51 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ERROR JS1015 - Unterminated String Constant

#1
I'm running a jscript on Microsoft Orchestrator 2012, and I keep getting this error

Activities\RunScript\w0vjlke0.0.js(8,14) : error JS1015: Unterminated string constant

It would be greatly appreciated if you could help me as I can't seem to find out what's causing it.

I guess this would be a rubber ducky debug ^_^

//Questions and answers will be ordered in two separated arrays
var questions = new Array();
var answers = new Array();
//Your data
var myData = '\`d.T.~Ed/{8DFD771C-13FA-40D4-84AE-8ECD056BCC2D}.UserInput\`d.T.~Ed/';
//Regex goes here
var regex=/\"(.*?)\"/g;
var match = regex.exec(myData);
var i = 1;
var pos = 0;
//Loop for all questions and answers, avoiding the type="string" attribute
while (match != null) {
pos = i % 3;
switch(pos){
case 1: questions[questions.length] = match[1]; break;
case 2: answers[answers.length] = match[1]; break;
}
i++;
match = regex.exec(myData);
}
//Check all questions and answers are at their correct positions
//Loop to grab all data and input the html fields to format into table
var counter='';
var objectnumber=(i-5);
objectnumber = objectnumber/2;
counter=0;
var html1q='<tr><td>';
var html2q='</td><td>';
var html3q='</td></tr>';
var realtext='';
while (objectnumber != counter) {
realtext += html1q + questions[counter] + html2q + answers[counter] + html3q;
counter++;
}
output=realtext;

Okay thanks guys!
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through