Comments (3)
I changed the path from which it pulls the json file and it works fine:
attack = Attck(enterprise_attck_json="https://raw.githubusercontent.com/mitre/cti/master/enterprise-attack/enterprise-attack.json")
print(attack.enterprise.techniques[0].tactics[0].name)
from pyattck.
Something is off with the file and how it's generated
You can edit the file, change these values to something so the json doesn't break (e.g. empty strings and then load it from local when constructing the Attck object in your code.
from pyattck.
Something is off with the file and how it's generated
You can edit the file, change these values to something so the json doesn't break (e.g. empty strings and then load it from local when constructing the Attck object in your code.
I also encountered the same problem, may I ask where is the file path you modified?
from pyattck.
Related Issues (20)
- Mitigations lack a Mitre Att&CK ID HOT 2
- TypeError: 'NoneType' object is not callable for basic example HOT 8
- pre-ATT&CK is deprecated
- How do we query an IP to get its relevant APT data
- Lack of Procedures description HOT 1
- Error when trying to iterate through techniques HOT 1
- JSONDecodeError: Expecting value: line 1 column 1808074 (char 1808073) HOT 2
- TypeError: __init__() missing 2 required positional arguments: 'id' and 'type' HOT 4
- Support v13 of Enterprise ATT&CK
- Key Error when Iterating v12_attack.enterprise.techniques
- Error when using Attck object HOT 2
- Error when trying to iterate through techniques HOT 2
- Bug in version 7.1.2
- Setting up local data files HOT 1
- get_by_tech_id and fuzzy match for context
- Forced root logger and hardcoded logging path HOT 1
- Some techniques are missing HOT 1
- Dependencies are too constrained
- Are we expecting a new release soon?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyattck.