-
Backtrack5 metasploit 업데이트 후 오류Linux 2013. 2. 16. 15:35
backtrack5에 있는 metasploit을 쓰는데...
msfupdate로 업데이트를 한번 하고 나니 아래와 같은 syntax error를 찍찍 뱉으면서 실행이 안된다....
root@bt:~# msfconsole
/opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /opt/metasploit/msf3/lib/msf/util/exe.rb:2: syntax error, unexpected tLSHFT (SyntaxError)
<<<<<<< .mine
^
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/msf3/lib/fastlib.rb:374:in `require'
from /opt/metasploit/msf3/lib/msf/util.rb:23:in `<top (required)>'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/msf3/lib/fastlib.rb:374:in `require'
from /opt/metasploit/msf3/lib/msf/core/framework.rb:3:in `<top (required)>'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/msf3/lib/fastlib.rb:374:in `require'
from /opt/metasploit/msf3/lib/msf/core.rb:34:in `<top (required)>'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/msf3/lib/fastlib.rb:374:in `require'
from /opt/metasploit/msf3/lib/msf/ui/console/driver.rb:2:in `<top (required)>'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/msf3/lib/fastlib.rb:374:in `require'
from /opt/metasploit/msf3/lib/msf/ui/console.rb:11:in `<top (required)>'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/msf3/lib/fastlib.rb:374:in `require'
from /opt/metasploit/msf3/lib/msf/ui.rb:11:in `<top (required)>'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit/msf3/lib/fastlib.rb:374:in `require'
from /opt/metasploit/msf3/msfconsole:136:in `<main>'
검색해보니 역시나 나온다
아래와 같이 하면 됨.
# cd /opt/metasploit/msf3/lib/msf/util
# rm -rf exe.rb
# cd /
# msfupdate
'Linux' 카테고리의 다른 글
VMware Real로 인식시키는 법 (1) 2013.04.24 아파치, php 버전 숨기기 (0) 2013.03.01 리눅스 시간 동기화 (0) 2013.01.15 Ubuntu 재부팅시 resolv.conf 초기화 될때 (0) 2012.08.02 Ubuntu vsftpd chroot 에러 (0) 2012.07.30