Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proxy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
haas
proxy
Commits
fcc62076
Commit
fcc62076
authored
Aug 10, 2017
by
Michal Horejsek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
honeypot_proxy => haas_proxy
parent
ab02d270
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
Makefile
Makefile
+5
-5
haas_proxy.py
haas_proxy.py
+1
-1
setup.py
setup.py
+1
-1
test_haas_proxy.py
test_haas_proxy.py
+1
-1
No files found.
Makefile
View file @
fcc62076
...
...
@@ -27,16 +27,16 @@ prepare-dev:
gem
install
--no-ri
--no-rdoc
fpm
test
:
if
[
`
which python2
`
]
;
then
python2
-m
pytest test_h
oneypot
_proxy.py
;
fi
if
[
`
which python3
`
]
;
then
python3
-m
pytest test_h
oneypot
_proxy.py
;
fi
if
[
`
which python2
`
]
;
then
python2
-m
pytest test_h
aas
_proxy.py
;
fi
if
[
`
which python3
`
]
;
then
python3
-m
pytest test_h
aas
_proxy.py
;
fi
lint
:
python3
-m
pylint
--rcfile
=
pylintrc h
oneypot
_proxy.py
python3
-m
pylint
--rcfile
=
pylintrc h
aas
_proxy.py
run-py2
:
sudo
python2 h
oneypot
_proxy.py
--device-token
42
sudo
python2 h
aas
_proxy.py
--device-token
42
run-py3
:
sudo
python3 h
oneypot
_proxy.py
--device-token
42
sudo
python3 h
aas
_proxy.py
--device-token
42
build
:
# Debian packages
...
...
h
oneypot
_proxy.py
→
h
aas
_proxy.py
View file @
fcc62076
...
...
@@ -19,7 +19,7 @@ Store it in some path and then pass it as:
Example usage:
$ h
oneypot
_proxy.py --device-token XXX
$ h
aas
_proxy.py --device-token XXX
"""
import
argparse
...
...
setup.py
View file @
fcc62076
...
...
@@ -23,7 +23,7 @@ setup(
name
=
'haas-proxy'
,
version
=
'1.0'
,
packages
=
[],
scripts
=
[
'h
oneypot
_proxy.py'
],
scripts
=
[
'h
aas
_proxy.py'
],
install_requires
=
[
'twisted[conch]>={}'
.
format
(
TWISTED_VERSION
),
...
...
test_h
oneypot
_proxy.py
→
test_h
aas
_proxy.py
View file @
fcc62076
...
...
@@ -8,7 +8,7 @@ except ImportError:
import
pytest
from
h
oneypot
_proxy
import
force_text
,
ProxySSHSession
from
h
aas
_proxy
import
force_text
,
ProxySSHSession
@
pytest
.
fixture
...
...
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