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

numap-stages -C ftdi -s=stages.ftdi fails #14

Open
keesj opened this issue May 21, 2021 · 3 comments
Open

numap-stages -C ftdi -s=stages.ftdi fails #14

keesj opened this issue May 21, 2021 · 3 comments
Labels
technical support request for technical support

Comments

@keesj
Copy link

keesj commented May 21, 2021

There is more python3 goodness when running numap-stages -C ftdi -s=stages.ftdi fails

ERROR:numap:Traceback (most recent call last):
  File "/home/pentest/projects/nu-map/numap/apps/emulate.py", line 42, in run
    self.dev.run()
  File "/home/pentest/projects/Facedancer/facedancer/USBDevice.py", line 165, in run
    self.scheduler.run()
  File "/home/pentest/projects/Facedancer/facedancer/core.py", line 509, in run
    task()
  File "/home/pentest/projects/Facedancer/facedancer/USBDevice.py", line 83, in <lambda>
    self.scheduler.add_task(lambda : self.maxusb_app.service_irqs())
  File "/home/pentest/projects/Facedancer/facedancer/backends/greatdancer.py", line 765, in service_irqs
    self._handle_setup_events()
  File "/home/pentest/projects/Facedancer/facedancer/backends/greatdancer.py", line 368, in _handle_setup_events
    self._handle_setup_event_on_endpoint(i)
  File "/home/pentest/projects/Facedancer/facedancer/backends/greatdancer.py", line 402, in _handle_setup_event_on_endpoint
    self.connected_device.handle_request(request)
  File "/home/pentest/projects/Facedancer/facedancer/USBDevice.py", line 251, in handle_request
    handler(req)
  File "/home/pentest/projects/Facedancer/facedancer/USBDevice.py", line 326, in handle_get_descriptor_request
    response = response(dindex)
  File "/home/pentest/projects/Facedancer/facedancer/USBDevice.py", line 53, in <lambda>
    self.descriptors[USB.desc_type_device] = lambda _ : self.get_descriptor()
  File "/home/pentest/projects/nu-map/numap/fuzz/helpers.py", line 63, in wrapper
    log_stage(stage)
  File "/home/pentest/projects/nu-map/numap/fuzz/helpers.py", line 42, in log_stage
    stage_logger.log_stage(stage)
  File "/home/pentest/projects/nu-map/numap/fuzz/helpers.py", line 25, in log_stage
    self.fd.write(stage + '\n')
TypeError: a bytes-like object is required, not 'str'

@straithe
Copy link
Member

straithe commented Nov 4, 2021

Are you looking for support with this issue, or were you just looking to make us aware of this issue?

@straithe straithe self-assigned this Nov 4, 2021
@straithe straithe added the technical support request for technical support label Nov 4, 2021
@keesj
Copy link
Author

keesj commented Nov 15, 2021

Hi @straithe, I am looking into getting this project into a better state and started logging issue.
At one time I felt more like the project was more foobar then I could handle at that point. I would like to see the project at least mostly working on python3 before I feel we can try fuzzing with it again.

@straithe
Copy link
Member

I will let my developers know, thank you! If you do put in any PRs I will try to fast track a review of them.

@straithe straithe removed their assignment Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical support request for technical support
Projects
None yet
Development

No branches or pull requests

2 participants