×

Method for generating cross-site scripting attack

  • US 8,505,080 B2
  • Filed: 11/17/2011
  • Issued: 08/06/2013
  • Est. Priority Date: 08/26/2011
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for generating a cross-site scripting attack, applicable to an electronic device, comprising:

  • receiving a number of attack string samples, wherein each attack string sample includes a number of string words;

    analyzing the attack string samples respectively to obtain a number of first token sequences, wherein each first token sequence includes a number of tokens, and each token corresponds to at least one of the string words;

    generating a number of cross-site scripting attack strings according to the string words corresponding to the tokens and the first token sequences, comprising;

    establishing a structure model according to the first token sequences;

    generating a number of second token sequences by using the tokens according to the structure model; and

    substituting the string words corresponding to the tokens into the second token sequences to generate the cross-site scripting attack strings; and

    outputting the cross-site scripting attack strings.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×