cara fix error saat msfupdate
#1
sebenarnya belum nyoba sih tapi apa salahnya klo kita berbagi
awalnya sih iseng2 update msfconsole, ehh pas di buka errror=> windows_console_color_support.rb

terpaksa dah inul gara2 gak tau caranya Big Grin
ehh ternyata ada cara fix nya, tinggal buat file windows_console_color_support.rb

cek disini yah
https://github.com/rapid7/metasploit-fra...support.rb

kalo bingung silahkan tanya ama om om sini yah

kabur dulu cuma numpang spam, :-bd
ada kodok teroret teroret dipinggir kali terorret teroret mencari makan teroret teroret setiap pagi teroret teroret

visit: http://warungiso.blogspot.com/

I was not smart or special but I was unix

#2
mv to subforum fix tools .. nice share dok Smile
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only

#3
(11-08-2012, 12:33 AM)zee eichel Wrote: mv to subforum fix tools .. nice share dok Smile

hehe maaf om slaah kamar Big Grin
keep share aja om :-bd
ada kodok teroret teroret dipinggir kali terorret teroret mencari makan teroret teroret setiap pagi teroret teroret

visit: http://warungiso.blogspot.com/

I was not smart or special but I was unix

#4
404 page not found. . .
link ny ud hilang deh kaya ny

#5
(11-16-2012, 10:30 PM)Chrono_AngeL Wrote: 404 page not found. . .
link ny ud hilang deh kaya ny
Spoiler! :
# Windows console color support
# Copyright 2011 Michael 'mihi' Schierl
# Licensed under MSF license

class WindowsConsoleColorSupport

STD_OUTPUT_HANDLE = -11
COLORS = [0, 4, 2, 6, 1, 5, 3, 7]

def initialize(origstream)
@origstream = origstream

# initialize API
@GetStdHandle = Win32API.new("kernel32","GetStdHandle",['L'],'L')
@GetConsoleScreenBufferInfo = Win32API.new("kernel32","GetConsoleScreenBufferInfo",['L','P'],'L')
@SetConsoleTextAttribute = Win32API.new("kernel32","SetConsoleTextAttribute",['L','l'],'L')
@hConsoleHandle = @GetStdHandle.Call(STD_OUTPUT_HANDLE)
end

def write(msg)
rest = msg
while (rest =~ Regexp.new("([^\e]*)\e\\[([0-9;]+)m"))
@origstream.write($1)
rest = $' # save it now since setcolor may clobber it
$2.split(";").each do |color|
setcolor(color.to_i)
end
end
@origstream.write(rest)
end

def flush
@origstream.flush
end

def setcolor(color)
csbi = 0.chr * 24
@GetConsoleScreenBufferInfo.Call(@hConsoleHandle,csbi)
wAttr = csbi[8,2].unpack('S').first

case color
when 0 # reset
wAttr = 0x07
when 1 # bold
wAttr |= 0x08
when 2 # unbold
wAttr &= ~0x08
when 7 # reverse
wAttr = ((wAttr & 0x0f) << 4) | ((wAttr & 0xf0) >> 4)
when 8 # conceal
wAttr &= ~0x0f
when 30 .. 37 # foreground colors
wAttr = (wAttr & ~0x07) | COLORS[color - 30]
when 40 .. 47 # background colors
wAttr = (wAttr & ~0x70) | (COLORS[color - 40] << 4)
end

@SetConsoleTextAttribute.Call(@hConsoleHandle, wAttr)
end
end


search di google dg clue
windows_console_color_support.rb
ada kodok teroret teroret dipinggir kali terorret teroret mencari makan teroret teroret setiap pagi teroret teroret

visit: http://warungiso.blogspot.com/

I was not smart or special but I was unix

#6
itu di copas di dir apa om terimakasih ini ada kejadian sma pada lapi ku bt5r1

#7
sama nh, kejadian nya..setelah upgrade terus msfconsole hasilnya
root@bt:~# msfconsole
[*] Metasploit requires the Bundler gem to be installed
$ gem install bundler






Users browsing this thread: 1 Guest(s)