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
burp-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Benjamin "Ziirish" SANS
burp-ui
Commits
216b7b4c
Verified
Commit
216b7b4c
authored
Mar 27, 2019
by
Benjamin "Ziirish" SANS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: packaging issue
parent
b2fa56b3
Pipeline
#1594
passed with stage
in 19 minutes and 37 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
15 deletions
+35
-15
CHANGELOG.rst
CHANGELOG.rst
+5
-0
burpui/VERSION
burpui/VERSION
+1
-1
pkgs/burp-ui-agent/MANIFEST.in
pkgs/burp-ui-agent/MANIFEST.in
+1
-0
pkgs/burp-ui-agent/setup.py
pkgs/burp-ui-agent/setup.py
+28
-14
No files found.
CHANGELOG.rst
View file @
216b7b4c
Changelog
=========
0.6.5 (03/27/2019)
------------------
- Fix: packaging issue
0.6.4 (03/26/2019)
------------------
...
...
burpui/VERSION
View file @
216b7b4c
0.6.
4
0.6.
5
pkgs/burp-ui-agent/MANIFEST.in
View file @
216b7b4c
include requirements.txt
include README
include share/burpui/etc/buiagent.sample.cfg
global-exclude *.pyc
...
...
pkgs/burp-ui-agent/setup.py
View file @
216b7b4c
...
...
@@ -10,6 +10,7 @@ import subprocess
from
setuptools
import
setup
,
find_packages
# only used to build the package
CWD
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
ROOT
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
'..'
,
'..'
)
raw_requirements
=
[
...
...
@@ -23,20 +24,26 @@ raw_requirements = [
'cffi'
,
]
requirements
=
[]
try
:
with
open
(
os
.
path
.
join
(
ROOT
,
'requirements.txt'
),
'r'
)
as
req
:
for
line
in
req
.
readlines
():
line
=
line
.
rstrip
()
for
i
,
look
in
enumerate
(
list
(
raw_requirements
)):
if
re
.
match
(
r
'{}(=><)?'
.
format
(
look
),
line
,
re
.
IGNORECASE
):
requirements
.
append
(
line
)
del
raw_requirements
[
i
]
break
requirements
+=
raw_requirements
except
OSError
:
pass
if
'sdist'
in
sys
.
argv
or
'bdist'
in
sys
.
argv
:
try
:
with
open
(
os
.
path
.
join
(
ROOT
,
'requirements.txt'
),
'r'
)
as
req
:
for
line
in
req
.
readlines
():
line
=
line
.
rstrip
()
for
i
,
look
in
enumerate
(
list
(
raw_requirements
)):
if
re
.
match
(
r
'{}(=><)?'
.
format
(
look
),
line
,
re
.
IGNORECASE
):
requirements
.
append
(
line
)
del
raw_requirements
[
i
]
break
requirements
+=
raw_requirements
except
OSError
:
pass
if
requirements
:
try
:
with
open
(
os
.
path
.
join
(
CWD
,
'requirements.txt'
),
'w'
)
as
req
:
req
.
write
(
'
\n
'
.
join
(
requirements
))
except
OSError
:
pass
if
not
os
.
path
.
exists
(
'burpui_agent'
):
os
.
makedirs
(
'burpui_agent'
,
mode
=
0o0755
)
if
os
.
path
.
exists
(
os
.
path
.
join
(
ROOT
,
'burpui'
,
'VERSION'
)):
...
...
@@ -74,7 +81,7 @@ if 'sdist' in sys.argv or 'bdist' in sys.argv:
for
decoy
in
out
.
splitlines
():
real
=
os
.
path
.
normpath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
decoy
),
os
.
readlink
(
decoy
)))
# print '{} -> {}'.format(decoy, real)
target
=
os
.
path
.
join
(
'burpui_agent'
,
re
.
sub
(
r
'.*/burpui/'
,
''
,
real
))
target
=
os
.
path
.
join
(
b
'burpui_agent'
,
re
.
sub
(
b
'.*/burpui/'
,
b
''
,
real
))
dirname
=
os
.
path
.
dirname
(
target
)
if
not
os
.
path
.
isdir
(
dirname
):
# print 'mkdir {}'.format(dirname)
...
...
@@ -90,13 +97,20 @@ if 'sdist' in sys.argv or 'bdist' in sys.argv:
files
=
subprocess
.
Popen
(
r
'find burpui_agent-decoy -type f'
,
shell
=
True
,
stdout
=
subprocess
.
PIPE
)
(
out
,
_
)
=
files
.
communicate
()
for
src
in
out
.
splitlines
():
dst
=
src
.
replace
(
'burpui_agent-decoy'
,
'burpui_agent'
)
dst
=
src
.
replace
(
b
'burpui_agent-decoy'
,
b
'burpui_agent'
)
dirname
=
os
.
path
.
dirname
(
dst
)
if
not
os
.
path
.
isdir
(
dirname
):
# print 'mkdir {}'.format(dirname)
os
.
makedirs
(
dirname
,
mode
=
0o0755
)
shutil
.
copy
(
src
,
dst
)
if
not
requirements
:
try
:
with
open
(
os
.
path
.
join
(
CWD
,
'requirements.txt'
),
'r'
)
as
req
:
requirements
=
[
x
.
rstrip
()
for
x
in
req
.
readlines
()]
except
OSError
:
pass
readme
=
"""
Burp-UI Meta package for agent requirements
"""
...
...
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