crash.software
Projects
Pull Requests
Issues
Builds
OWASSRF-CVE-2022-41082_TabShell-CVE-2022-41076
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
OWASSRF-CVE-2022-41082_TabShell-CVE-2022-41076
Files
🤬
Sign In
main
ROOT
/
pypsrp
/
host.py
Search
History
1182 lines
|
ISO-8859-1
|
44 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
logging
typing
uuid
ET
Array
BufferCell
Color
Coordinates
CultureInfo
GenericComplexObject
HostMethodIdentifier
KeyInfo
ObjectMeta
PSCredential
Size
PowerShell
RunspacePool
log
PSHost
(object)
ui
debugger_enabled
private_data
name
version
instance_id
current_culture
current_ui_culture
rc
__init__
(self,current_culture:typing.Optional[CultureInfo],current_ui_culture:typing.Optional[CultureInfo],debugger_enabled:bool,name:typing.Optional[str],private_data:typing.Optional[typing.Dict],ui:typing.Optional["PSHostUserInterface"],version:str,)
run_method
(self,method_identifier:HostMethodIdentifier,args:typing.List,runspace:RunspacePool,pipeline:typing.Optional[PowerShell]=None,)
GetName
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
GetVersion
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
GetInstanceId
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
GetCurrentCulture
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
GetCurrentUICulture
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetShouldExit
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],exit_code:int,)
EnterNestedPrompt
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
ExitNestedPrompt
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
NotifyBeginApplication
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
NotifyEndApplication
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
PSHostUserInterface
(object)
raw_ui
__init__
(self,raw_ui:typing.Optional["PSHostRawUserInterface"]=None,)
ReadLine
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
ReadLineAsSecureString
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
Write1
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],value:str,)
Write2
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],foreground_color:int,background_color:int,value:str,)
WriteLine1
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
WriteLine2
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],value:str,)
WriteLine3
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],foreground_color:int,background_color:int,value:str,)
WriteErrorLine
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],message:str,)
WriteDebugLine
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],message:str,)
WriteProgress
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],source_id:int,record:str,)
WriteVerboseLine
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],message:str,)
WriteWarningLine
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],message:str,)
Prompt
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],caption:str,message:str,description:typing.List[GenericComplexObject],)
PromptForCredential1
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],caption:str,message:str,user_name:str,target_name:str,)
PromptForCredential2
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],caption:str,message:str,user_name:str,target_name:str,allowed_credential_types:int,options:int,)
PromptForChoice
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],caption:str,message:str,choices:typing.List[GenericComplexObject],default_choice:int,)
PSHostRawUserInterface
(object)
key_available
window_title
cursor_size
foreground_color
background_color
cursor_position
window_position
buffer_size
max_physical_window_size
max_window_size
window_size
__init__
(self,window_title:str,cursor_size:int,foreground_color:Color,background_color:Color,cursor_position:Coordinates,window_position:Coordinates,buffer_size:Size,max_physical_window_size:Size,max_window_size:Size,window_size:Size,)
GetForegroundColor
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetForegroundColor
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],color:Color,)
GetBackgroundColor
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetBackgroundColor
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],color:Color,)
GetCursorPosition
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetCursorPosition
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],coordinates:GenericComplexObject,)
GetWindowPosition
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetWindowPosition
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],coordinates:GenericComplexObject,)
GetCursorSize
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetCursorSize
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],percentage:int,)
GetBufferSize
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetBufferSize
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],size:GenericComplexObject,)
GetWindowSize
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetWindowSize
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],size:GenericComplexObject,)
GetWindowTitle
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetWindowTitle
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],title:str,)
GetMaxWindowSize
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
GetMaxPhysicalWindowSize
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
GetKeyAvailable
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
ReadKey
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],options:int=4,)
FlushInputBuffer
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],)
SetBufferContents1
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],rectangle:GenericComplexObject,fill:GenericComplexObject,)
SetBufferContents2
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],origin:GenericComplexObject,contents:GenericComplexObject,)
GetBufferContents
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],rectangle:GenericComplexObject,)
ScrollBufferContents
(self,runspace:RunspacePool,pipeline:typing.Optional[PowerShell],source:GenericComplexObject,destination:Coordinates,clip:GenericComplexObject,fill:BufferCell,)
All occurrences
Please wait...
Page is in error, reload to recover