March 11, 2011

Allowing popup windows from a website using registry functions

[+] void AllowPopups (string sHTTPServer)
    [ ]
    [ ] Reg_CreateKey (HKEY_CURRENT_USER, "Software\Microsoft\Internet Explorer\New Windows\Allow")
    [ ] Reg_CreateValue (HKEY_CURRENT_USER, "Software\Microsoft\Internet Explorer\New Windows\Allow", sHTTPServer, "REG_BINARY: 0x0000")

// Example: AllowPopups ("http://www.yahoo.com")

0 comments: