Guest User

Untitled

a guest
Apr 26th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. <ul id="adPoint1"><li>Business</li><li>Contract</li></ul>
  2.  
  3. $dom = new DOMDocument();
  4. @$dom->loadHTML($output);
  5. $this->xpath = new DOMXPath($dom);
  6. $testDom = $this->xpath->evaluate("//ul[@id='adPoint1']");
  7. $test = $testDom->item(0)->nodeValue;
  8. echo htmlentities($test);
  9.  
  10. <script language="javascript">document.write(rot_decode('<u7>Pbagnpg Qrgnvyf</u7><qy vq="pbagnpgQrgnvyf"><qg>Cu:</qg><qq>(58) 0078 8455</qq></qy>'));</script>
  11.  
  12. $testDom = $this->xpath->evaluate("//div[@id='businessDetails']/script");
  13. $test = $testDom->item(0)->nodeValue;
  14. echo htmlentities($test);
  15.  
  16. document.write(rot_decode('<u7>Pbagnpg Qrgnvyf<qy vq="pbagnpgQrgnvyf"><qg>Cu:<qq>(58) 0078 8455'));
  17.  
  18. //ul[@id='adPoint1']
  19.  
  20. //ul[@id='adPoint1']/li
  21.  
  22. foreach($this->simpleDom->find('script[language=javascript]') as $script) {
  23. echo htmlentities($script->innertext());
  24. }
Add Comment
Please, Sign In to add comment