Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyrasite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
pyrasite
Commits
27bddfa5
Commit
27bddfa5
authored
Mar 20, 2012
by
Luke Macken
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into develop
parents
7f85598e
3beb3c96
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
MANIFEST.in
MANIFEST.in
+3
-0
pkgs/fedora/pyrasite.spec
pkgs/fedora/pyrasite.spec
+1
-1
pyrasite/__init__.py
pyrasite/__init__.py
+1
-1
pyrasite/ipc.py
pyrasite/ipc.py
+2
-3
setup.py
setup.py
+1
-1
No files found.
MANIFEST.in
View file @
27bddfa5
...
@@ -3,3 +3,6 @@ include README.rst
...
@@ -3,3 +3,6 @@ include README.rst
graft pyrasite
graft pyrasite
graft tests
graft tests
graft docs
global-exclude *.pyc *.pyo *.swp *.swo
pkgs/fedora/pyrasite.spec
View file @
27bddfa5
%global betaver beta
6
%global betaver beta
8
Name: pyrasite
Name: pyrasite
Version: 2.0
Version: 2.0
...
...
pyrasite/__init__.py
View file @
27bddfa5
__version__
=
'2.0beta
6
'
__version__
=
'2.0beta
8
'
__all__
=
(
'inject'
,
'inspect'
,
'PyrasiteIPC'
,
__all__
=
(
'inject'
,
'inspect'
,
'PyrasiteIPC'
,
'ReverseConnection'
,
'ReversePythonConnection'
)
'ReverseConnection'
,
'ReversePythonConnection'
)
__license__
=
"""
\
__license__
=
"""
\
...
...
pyrasite/ipc.py
View file @
27bddfa5
...
@@ -99,9 +99,8 @@ class PyrasiteIPC(object):
...
@@ -99,9 +99,8 @@ class PyrasiteIPC(object):
"""Write out a reverse python connection payload with a custom port"""
"""Write out a reverse python connection payload with a custom port"""
(
fd
,
filename
)
=
tempfile
.
mkstemp
()
(
fd
,
filename
)
=
tempfile
.
mkstemp
()
tmp
=
os
.
fdopen
(
fd
,
'w'
)
tmp
=
os
.
fdopen
(
fd
,
'w'
)
path
=
dirname
(
abspath
(
join
(
pyrasite
.
__file__
,
'..'
)))
path
=
dirname
(
abspath
(
pyrasite
.
__file__
))
payload
=
open
(
join
(
path
,
'pyrasite'
,
'reverse.py'
))
payload
=
open
(
join
(
path
,
'reverse.py'
))
tmp
.
write
(
'import sys; sys.path.insert(0, "%s")
\
n
'
%
path
)
for
line
in
payload
.
readlines
():
for
line
in
payload
.
readlines
():
if
line
.
startswith
(
'#'
):
if
line
.
startswith
(
'#'
):
...
...
setup.py
View file @
27bddfa5
from
setuptools
import
setup
,
find_packages
from
setuptools
import
setup
,
find_packages
version
=
'2.0beta
6
'
version
=
'2.0beta
8
'
f
=
open
(
'README.rst'
)
f
=
open
(
'README.rst'
)
long_description
=
f
.
read
().
split
(
'split here'
)[
1
]
long_description
=
f
.
read
().
split
(
'split here'
)[
1
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment