Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MGMT IPs/URLs not using default port #4

Open
mvwijngaardenatkoningictnl opened this issue Dec 8, 2023 · 1 comment
Open

MGMT IPs/URLs not using default port #4

mvwijngaardenatkoningictnl opened this issue Dec 8, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mvwijngaardenatkoningictnl

Hi,

Script works for PA's using the default URL (443 port).

Palo Alto's with using other ports for the the management, because GlobalProtect is being used list on port 4443. Adding this port to the IP list results in error:

Malformed IP Address or hostname - x.x.x.x:4443 in filename called: PAS.txt

Would it be possible to allow different ports to be called in stead of only the default URL?

@mvwijngaardenatkoningictnl mvwijngaardenatkoningictnl added the bug Something isn't working label Dec 8, 2023
@rlemm-pan
Copy link
Collaborator

change line 180 from this:

ip = str(ipaddress.ip_address(ip))

to this:

ip = str(ipaddress.ip_address(ip)+":4443")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants