incognito

渗透技巧——Token窃取与利用

孤街醉人 提交于 2020-01-15 05:36:45
作者: print("") 分类: 信息安全 发布时间: 2018-06-02 17:21 编辑 0x00 前言 在之前的文章 《渗透技巧——程序的降权启动》 介绍了使用SelectMyParent降权的方法,本质上是通过token窃取实现的。这一次将要对token窃取和利用做进一步介绍,测试常用工具,分享利用技巧。 0x01 简介 本文将要介绍以下内容; Token简介 Metasploit中的incognito Windows平台下的incognito Invoke-TokenManipulation.ps1用法 利用token获得system权限 利用token获得TrustedInstaller权限 0x02 Token简介 Windows有两种类型的Token: Delegation token(授权令牌):用于交互会话登录(例如本地用户直接登录、远程桌面登录) Impersonation token(模拟令牌):用于非交互登录(利用net use访问共享文件夹) 注: 两种token只在系统重启后清除 具有Delegation token的用户在注销后,该Token将变成Impersonation token,依旧有效 实际测试 使用Test\a登录后注销,再使用administrator登录 查看token: incognito.exe list_tokens -u

window.onresize not firing in Chrome but firing in Chrome Incognito

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I would like to ask in what situations could this even be possible? I've got a website with a window.onresize event, works in firefox, IE9, Chrome Incognito windows, but not in Chrome. The thing is, it used to work before I made some unrelated changes to my code, or before I updated chrome yesterday (? can't tell). No javascript console errors are reported in firefox nor in chrome. Not even the most basic thing works window.onresize = t; function t (e) { alert("wtf?");} . Is it possible that I've missed some } somewhere that magically makes

New Chrome Incognito Window via HTML/JS [duplicate]

匿名 (未验证) 提交于 2019-12-03 03:04:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Possible Duplicate: How to open new incognito window with Javascript? (Google Chrome) Is it possible to open a new incognito window to a URL of my choosing via either some attributes on a hyperlink or some javascript? If it is, how do I do it? 回答1: There's an easy way if (and only if) you're developing an extension: chrome . windows . create ({ url : "http://www.google.com" , incognito : true }); It requires tabs permission in the manifest, but that's it. Note that the above has the user consent to allowing the extension to enter

Python/Selenium incognito/private mode

匿名 (未验证) 提交于 2019-12-03 02:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I can not seem to find any documentation on how to make Selenium open the browser in incognito mode. Do I have to setup a custom profile in the browser or? 回答1: First of all, since selenium by default starts up a browser with a clean, brand-new profile, you are actually already browsing privately . Referring to: Python - Start firefox with Selenium in private mode How might I simulate a private browsing experience in Watir? (Selenium) But you can strictly enforce/turn on incognito/private mode anyway. For chrome pass --incognito command-line

Google oauth2 and 400 bad request: Bug on Google side?

匿名 (未验证) 提交于 2019-12-03 02:50:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We have Google oauth2 working fine on our website. However, often Chrome users complaint about 400 Bad request and we were able to reproduce it now. Based on the investigation, it indeed looks like a bug on Google side: It only happens with users who were authenticated earlier and logged-in with multiple accounts on GMail It doesn't happen when the same user uses incognito window. This problem is universal and not only with our website. At this moment, I am not able to login using google oauth2 on any website including StackOverflow.