Skip to content

Execute Python Issue #397

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

Open
solaconsay opened this issue Jan 27, 2025 · 1 comment
Open

Execute Python Issue #397

solaconsay opened this issue Jan 27, 2025 · 1 comment

Comments

@solaconsay
Copy link

Getting issue when using Execute Python node. This was working last week though.

Exception: 'Tools' object has no attribute 'singul'

Image

`import ipaddress

ip1 = "$data.all_fields.data.srcip"
ip2 = "$data.all_fields.agent.ip"
subnet_mask = "255.255.255.0"

try:
same_subnet = ipaddress.IPv4Network(f"{ip1}/{subnet_mask}", strict=False).network_address ==
ipaddress.IPv4Network(f"{ip2}/{subnet_mask}", strict=False).network_address
except ValueError:
same_subnet = False

print(same_subnet)
`

@frikky
Copy link
Member

frikky commented Jan 27, 2025

Hey! This is the same issue as this: Shuffle/Shuffle#1609. Did you restart Orborus? That tends to re-download the main apps that are used by a lot of people.

Please make sure your Shuffle Tools is upgraded in accordance. We'll be fixing the root cause here in the next few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants