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

Pull in Windows Bootstrap Loader Python Package #249

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Commits on Jul 12, 2017

  1. First commit of faraday-bsl program

    Added setup.cfg entry points as well as skeleton application code.
    kb1lqc committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    e361c73 View commit details
    Browse the repository at this point in the history
  2. Moved createtiscripter.py into faraday/classes/

    Moved to createtiscript.py and also created new folder classes in the
    faraday folder.
    kb1lqc committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    634ed01 View commit details
    Browse the repository at this point in the history
  3. Added main() to bootstrap.py

    kb1lqc committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    a9d56ad View commit details
    Browse the repository at this point in the history
  4. Added __init__.py to classes and imported class

    Imported createtiscript.py as a module from the bootstrap loader
    application.
    kb1lqc committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    25d32f9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac95672 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2017

  1. Full operation of TI scripts working

    I can get to the end of creating TI scripts. This required some hard
    coding of file locations and moving some .txt files into /etc/faraday.
    kb1lqc committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    200f25c View commit details
    Browse the repository at this point in the history
  2. Removed unecessary .txt file and added ignore

    Removed file that is created everytime bootstrap loader is used. Then I
    added it to the .gitignore file so we won't accidentally add it later.
    kb1lqc committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    116bddc View commit details
    Browse the repository at this point in the history
  3. Added some missed files and updated gitignore

    revamped a decent amount of .gitignore for all applications. Also updated
    filenames in bootstrap.py
    kb1lqc committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    fc2543f View commit details
    Browse the repository at this point in the history
  4. Straggler .gitignore + importing faradayFTDI

    importing faradyFTDI class now after moving it into the project.
    kb1lqc committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    3630c4c View commit details
    Browse the repository at this point in the history
  5. Loaded firmware on with faraday-bsl!

    First time completely working through load of firware with new packaged
    command. Still need to correct loading of files from setup.cfg. Also
    updated .gitignore to remove a filename error.
    kb1lqc committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    e4eca5c View commit details
    Browse the repository at this point in the history
  6. Added necessary files to setup.cfg

    Also added sample INI file. This now completes obtaining most data from
    the package. Including a prior commit that added an EXE file (oh god...).
    A must for now. Still need to automate obtaining latest firmware file and
    starting to use the INI configuration to remove the hard-coding.
    kb1lqc committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    95aa4c3 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2017

  1. Added config sections and config read

    Boostrap.py now reads in the filename and com port from bsl.ini.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    299161e View commit details
    Browse the repository at this point in the history
  2. Pull in most filenames from INI config file

    Most of the filenames needed are now pulled in from the configuration INI
    file.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    78fe42f View commit details
    Browse the repository at this point in the history
  3. Changed creatscripts variable name

    Didn't want it to be test so I changed it to script.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    2f79bba View commit details
    Browse the repository at this point in the history
  4. Updated help to indicate needed drivers

    Indicated required FTDI drivers.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    71bd116 View commit details
    Browse the repository at this point in the history
  5. Basic getMaster() command option

    The getMaster command option downloads the latest master firmware and
    places it in <user>/.faraday/firmware/master.txt
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    faff453 View commit details
    Browse the repository at this point in the history
  6. Updated bsl.sample.ini and using downloaded fw

    Updated bsl.sample.ini with all fields currently in use. Also started
    using downloaded firmware located in <user>/.faraday/firmware/master.txt
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    c4f64df View commit details
    Browse the repository at this point in the history
  7. Updated COM Port configuration

    Now using --port to set the UART port in bsl.ini. Also, changed the ini
    file to match proxy terminology for ports in INI file.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    a404bb1 View commit details
    Browse the repository at this point in the history
  8. Added exception for firmware load

    Added a try/except for firmware master.txt opening.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    273449e View commit details
    Browse the repository at this point in the history
  9. CLeaned up bootstrap.py

    Cleaned up commented out code, updated comments, and added a try/except
    statement for the FTDI drivers.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    3b78554 View commit details
    Browse the repository at this point in the history
  10. Updated createtiscript.py

    Removed commented out code, commented where appropriate, and generally
    cleaned up the file. Also added docstrings.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    7022e28 View commit details
    Browse the repository at this point in the history
  11. Update faradayFTDI.py and createtiscript.py

    Quick docstring fix on createtiscript.py and a big commenting/cleanup of
    faradayFTDI.py. Ideally there were no functional changes in this commit.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    8329c48 View commit details
    Browse the repository at this point in the history
  12. Pytest Update for Bootstrap Loader package

    Passes pytest after these commits.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    5a0a293 View commit details
    Browse the repository at this point in the history
  13. Fixed error states

    Try and excepts now work better and the package is cleaned up from a
    command line and config operational flow.
    kb1lqc committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    a404998 View commit details
    Browse the repository at this point in the history