Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: use it when fetching the page though. pagehandle = urllib2.urlopen(theurl) # authentication is now handled automatically for us ie = webbrowser.get('c:\program files\internet explorer\iexplore.exe') ie.open(theurl) def get_name(): user = 'johnny' passwd = 'XXXXXX' try : driver = webdriver.Remote(desired_capabilities=webdriver.DesiredCapabilities.HTMLUNIT) driver.get('http://www.someserver.com/toplevelurl/somepage.htm') assert 'Page Title' in driver.title username = driver.find_element_by_name('nam Source: http://pastebin.com/raw.php?i=85qipRkw

Viewing all articles
Browse latest Browse all 2663

Trending Articles