trietptm / volatility

Automatically exported from code.google.com/p/volatility
GNU General Public License v2.0
1 stars 2 forks source link

linux_check_tty AttributeError on ldsik -> ops #386

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
using metasploitable image (2.6.24-16.server)

$ python vol.py -f 
~/Downloads/Metasploitable2-Linux/Metasploitable-555c9224.vmem 
--profile=LinuxMetasploitx86 linux_check_tty
Name             Address    Symbol                        
---------------- ---------- ------------------------------
Traceback (most recent call last):
  File "vol.py", line 186, in <module>
    main()
  File "vol.py", line 177, in main
    command.execute()
  File "/Users/mhl/Desktop/volatility_linux_profile/volatility/plugins/linux/common.py", line 55, in execute
    commands.Command.execute(self, *args, **kwargs)
  File "/Users/mhl/Desktop/volatility_linux_profile/volatility/commands.py", line 111, in execute
    func(outfd, data)
  File "/Users/mhl/Desktop/volatility_linux_profile/volatility/plugins/linux/tty_check.py", line 59, in render_text
    for name, call_addr in data:
  File "/Users/mhl/Desktop/volatility_linux_profile/volatility/plugins/linux/tty_check.py", line 52, in calculate
    recv_buf = tty_dev.ldisc.ops.receive_buf
  File "/Users/mhl/Desktop/volatility_linux_profile/volatility/obj.py", line 735, in __getattr__
    return self.m(attr)
  File "/Users/mhl/Desktop/volatility_linux_profile/volatility/obj.py", line 717, in m
    raise AttributeError("Struct {0} has no member {1}".format(self.obj_name, attr))
AttributeError: Struct ldisc has no member ops

Original issue reported on code.google.com by michael.hale@gmail.com on 22 Feb 2013 at 7:19

GoogleCodeExporter commented 9 years ago
$ python vol.py --profile=LinuxMetasploitx86 -f 
~/Desktop/Metasploitable-555c9224.vmem linux_check_tty
Volatile Systems Volatility Framework 2.3_alpha
Name             Address    Symbol                        
---------------- ---------- ------------------------------
Traceback (most recent call last):
  File "vol.py", line 186, in <module>
    main()
  File "vol.py", line 177, in main
    command.execute()
  File "/Users/michaelligh/Desktop/volatility/volatility/plugins/linux/common.py", line 55, in execute
    commands.Command.execute(self, *args, **kwargs)
  File "/Users/michaelligh/Desktop/volatility/volatility/commands.py", line 111, in execute
    func(outfd, data)
  File "/Users/michaelligh/Desktop/volatility/volatility/plugins/linux/tty_check.py", line 59, in render_text
    for name, call_addr in data:
  File "/Users/michaelligh/Desktop/volatility/volatility/plugins/linux/tty_check.py", line 52, in calculate
    recv_buf = tty_dev.ldisc.ops.receive_buf
AttributeError: 'function' object has no attribute 'receive_buf'

Original comment by michael.hale@gmail.com on 29 Mar 2013 at 8:57

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3211.

Original comment by michael.hale@gmail.com on 29 Mar 2013 at 10:26