Giter Site home page Giter Site logo

bartesa / pka2xml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mircodz/pka2xml

0.0 0.0 0.0 2.59 MB

Convert Packet Tracer network simulation pka and pkt files into XML and vice versa.

Home Page: https://mircodezorzi.github.io/pka2xml

License: BSD 2-Clause "Simplified" License

Shell 7.88% C++ 63.92% Python 7.99% C 6.05% Makefile 1.62% CMake 12.17% Dockerfile 0.37%

pka2xml's Introduction

Convert Packet Tracer network simulation pka and pkt files into XML and vice versa.

For more information you can read this short blog post that explains how I managed to write the utility.

Coming Soon

  • Patches for versions other than 7.3.1 on linux
  • UI version
  • Reverse module encryption algorithm

Building

Building with Docker

docker build -t pka2xml:1.0.0 . && docker run -it pka2xml:1.0.0

Building manually

To build a static binary:

make static-install

To build a dynamic binary:

make dynamic-install

pka2xml

usage: pka2xml [ options ]

where options are:
  -d <in> <out>   decrypt pka/pkt to xml
  -e <in> <out>   encrypt pka/pkt to xml

  -f <in> <out>   allow packet tracer file to be read by any version

  -nets <in>      decrypt packet tracer "nets" file
  -logs <in>      decrypt packet tracer log file

  --forge <out>   forge authentication file to bypass login


examples:
  pka2xml -d foobar.pka foobar.xml
  pka2xml -e foobar.xml foobar.pka
  pka2xml -nets $HOME/packettracer/nets
  pka2xml -logs $HOME/packettracer/pt_12.05.2020_21.07.17.338.log

PacketTracer (patch.c)

Launch PacketTracer with the following patches:

  • bypass login screen
  • display all activities as completed
  • unlock all previously locked interfaces
  • don't reset activity on user change

graph.py

Given an xml file of a Packet Tracer Network Simulation, generates a graph of the entire network.

Dependencies

  • CryptoPP
  • libzip
  • Re2

pka2xml's People

Contributors

mircodz avatar alwinator avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.