This commit is contained in:
commit
bc8ff5f44a
6520 changed files with 426985 additions and 0 deletions
BIN
windows/exploits/ZIBE/pyreadline/clipboard/__init__.pyc
Normal file
BIN
windows/exploits/ZIBE/pyreadline/clipboard/__init__.pyc
Normal file
Binary file not shown.
|
@ -0,0 +1,28 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#*****************************************************************************
|
||||
# Copyright (C) 2006 Jorgen Stenarson. <jorgen.stenarson@bostream.nu>
|
||||
#
|
||||
# Distributed under the terms of the BSD License. The full license is in
|
||||
# the file COPYING, distributed as part of this software.
|
||||
#*****************************************************************************
|
||||
import clr
|
||||
clr.AddReferenceByPartialName(u"System.Windows.Forms")
|
||||
import System.Windows.Forms.Clipboard as cb
|
||||
|
||||
def GetClipboardText():
|
||||
text = ""
|
||||
if cb.ContainsText():
|
||||
text = cb.GetText()
|
||||
|
||||
return text
|
||||
|
||||
def SetClipboardText(text):
|
||||
cb.SetText(text)
|
||||
|
||||
if __name__ == u'__main__':
|
||||
txt = GetClipboardText() # display last text clipped
|
||||
print txt
|
||||
|
||||
|
||||
|
||||
|
18
windows/exploits/ZIBE/pyreadline/clipboard/no_clipboard.py
Normal file
18
windows/exploits/ZIBE/pyreadline/clipboard/no_clipboard.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#*****************************************************************************
|
||||
# Copyright (C) 2006 Jorgen Stenarson. <jorgen.stenarson@bostream.nu>
|
||||
#
|
||||
# Distributed under the terms of the BSD License. The full license is in
|
||||
# the file COPYING, distributed as part of this software.
|
||||
#*****************************************************************************
|
||||
|
||||
|
||||
mybuffer = u""
|
||||
|
||||
def GetClipboardText():
|
||||
return mybuffer
|
||||
|
||||
def SetClipboardText(text):
|
||||
global mybuffer
|
||||
mybuffer = text
|
||||
|
BIN
windows/exploits/ZIBE/pyreadline/clipboard/win32_clipboard.pyc
Normal file
BIN
windows/exploits/ZIBE/pyreadline/clipboard/win32_clipboard.pyc
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue