SHARE
TWEET

Untitled

a guest Jan 24th, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cornelus@dell:~/dumpflash$ sudo python3 dumpflash.py
  2. Traceback (most recent call last):
  3.   File "dumpflash.py", line 53, in <module>
  4.     flash_image_io = flashimage.IO(options.raw_image_filename, options.start_offset, options.length, options.page_size, options.oob_size, options.pages_per_block, options.slow)
  5.   File "/home/cornelus/dumpflash/flashimage.py", line 24, in __init__
  6.     self.SrcImage = flashdevice.IO(slow)
  7.   File "/home/cornelus/dumpflash/flashdevice.py", line 56, in __init__
  8.     self.__get_id()
  9.   File "/home/cornelus/dumpflash/flashdevice.py", line 157, in __get_id
  10.     flash_identifiers = self.__read_data(8)
  11.   File "/home/cornelus/dumpflash/flashdevice.py", line 141, in __read_data
  12.     return self.__read(0, 0, count)
  13.   File "/home/cornelus/dumpflash/flashdevice.py", line 100, in __read
  14.     return data.tobytes()
  15. AttributeError: 'bytearray' object has no attribute 'tobytes'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top