Monday, November 29, 2010

check out my current quandry on askubuntu...a stack base ubuntu help site

it's sort of answered.  just looking into the scripting required to make it work in the way i want... http://askubuntu.com/q/15220/5768

Friday, October 22, 2010

Rails is sooo awesome....okay the shameless plug of a great product is out of the way

Reasons to like RoR:
1)UI is a web browser

2)No need to troubleshoot dependency snafus on so many platforms(think wxruby/gnome2/gtk/glade on: linux source/debianized/rpmed, windows 2000+xp/vista+7/server>=2k3, mac/other unix, etc)
-basic gems without compiled code inclusion should work universally

3)Many compiled code inclusions have been sorted out(and if they haven't commercial distributions should do this *think mac osx=fail* and users of free distributions should do this - i won't publicly because i use debianized and they are having a dick measuring contest with gem atm) NOTE: if my comment there was a little excessive or vulgar sorry, but it's how i feel, and if i need to kindergarten the language for somebody out there let me know at aking1012 _AAAA__tttTTtT_ amcomworks.com

4)Easy to package(minus debianized systems....looking into that)
-there is no reason i can think of that there shouldn't be a utility that says - gems containing .so files are compiled, compiled language gems need these symbols, these symbols are provided by x, check installed gems, check required symbols, check packages, check success or failure, warn about gems that debianized system y breaks
-there are paid debian devs...i am a full time student...just a thought
-debianized policy is that everything should be through synaptic...read no require 'gem' includes...screw portability
-my policy is that portability is master of the universe and the current debianized policy is an attempt at microsoft-like vendor lock-in bs or incredible density from at least one dev
-i may seek another distro soon, or fork ubuntu for ruby devs
-rvm is my current solution so i can hide from debianization when using ruby...if i weren't a full time student i would pay the rvm developer as much as i could afford in one shot because he is THE MAN

**steps off soapbox**
Reasons it's better than python:
see previous list

So, now that I am finished complaining....
Is rails just for web-applications? Not in my opinion.  I would think it is obvious from my previous rant that I am using rails to develop end user applications to get around UI dependency difficulties.  ruby2exe and some other tools provide a way to distribute ruby/rails/app all at once in a single binary to make sure everything works.  Just my 2 cents for the day.  Thanks for listening.

Tuesday, October 19, 2010

So I had to go back to Lucid from Maverick...oh well. Here is ffmpeg from source working

apt-get build-dep ffmpeg
apt-get source ffmpeg

apt-get install libdirac-dev libfaac-dev libmp3lame0 libmp3lame-dev libopencore-amrnb0 libopencore-amrwb0 libopencore-amrnb-dev libopencore-amrwb-dev libopenjpeg2 libopenjpeg-dev libssl-dev libvpx0 libvpx-dev libx264-85 libx264-dev libfaad-dev libfaad2 libxvidcore-dev libxvidcore4

#did this part trying to build svn, but i would have to pull packages from maverick...i'll wait for the backport
svn co svn://svn.mplayerhq.hu/rtmpdump/trunk rtmpdump
cd rtmpdump/librtmp
make
sudo make install
cd ../..
#end

svn co svn://svn.mplayerhq.hu/nut/src/trunk nut
cd nut
make
sudo make install

###libraries in 10.04 aren't new enough for svn
###svn co svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg-"version"
./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libnut --enable-swscale --enable-vdpau --enable-postproc --enable-avfilter

#gives us this:
install prefix            /usr/local
source path               /home/adev/src/ffmpeg-0.5.1
C compiler                gcc
.align is power-of-two    no
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     no
yasm                      yes
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
CMOV enabled              no
CMOV is fast              no
EBX available             yes
EBP available             no
10 operands supported     yes
gprof enabled             no
debug symbols             yes
strip symbols             yes
optimizations             yes
static                    yes
shared                    yes
postprocessing support    yes
software scaler enabled   yes
new filter support        yes
filters using lavformat   yes
video hooking             yes
Imlib2 support            yes
FreeType support          yes
network support           yes
IPv6 support              yes
threading support         pthreads
SDL support               yes
Sun medialib support      no
AVISynth enabled          no
libamr-nb support         no
libamr-wb support         no
libdc1394 support         yes
libdirac enabled          yes
libfaac enabled           yes
libfaad enabled           yes
libfaad dlopened          yes
libgsm enabled            yes
libmp3lame enabled        yes
libnut enabled            yes
libopencore-amrnb support yes
libopencore-amrwb support yes
libopenjpeg enabled       yes
libschroedinger enabled   yes
libspeex enabled          yes
libtheora enabled         yes
libvorbis enabled         yes
libx264 enabled           yes
libxvid enabled           yes
vdpau enabled             yes
zlib enabled              yes
bzlib enabled             yes

Enabled decoders:
aac            ffvhuff            pcm_f64be
aasc            flac            pcm_f64le
ac3            flashsv            pcm_mulaw
adpcm_4xm        flic            pcm_s16be
adpcm_adx        flv            pcm_s16le
adpcm_ct        fourxm            pcm_s16le_planar
adpcm_ea        fraps            pcm_s24be
adpcm_ea_maxis_xa    gif            pcm_s24daud
adpcm_ea_r1        h261            pcm_s24le
adpcm_ea_r2        h263            pcm_s32be
adpcm_ea_r3        h263i            pcm_s32le
adpcm_ea_xas        h264            pcm_s8
adpcm_g726        h264_vdpau        pcm_u16be
adpcm_ima_amv        huffyuv            pcm_u16le
adpcm_ima_dk3        idcin            pcm_u24be
adpcm_ima_dk4        imc            pcm_u24le
adpcm_ima_ea_eacs    indeo2            pcm_u32be
adpcm_ima_ea_sead    indeo3            pcm_u32le
adpcm_ima_iss        interplay_dpcm        pcm_u8
adpcm_ima_qt        interplay_video        pcm_zork
adpcm_ima_smjpeg    jpegls            pcx
adpcm_ima_wav        kmvc            png
adpcm_ima_ws        libfaad            ptx
adpcm_ms        libgsm            qcelp
adpcm_sbpro_2        libgsm_ms        qdm2
adpcm_sbpro_3        libopencore_amrnb    qdraw
adpcm_sbpro_4        libopencore_amrwb    qpeg
adpcm_swf        libopenjpeg        qtrle
adpcm_thp        libschroedinger        ra_144
adpcm_xa        libspeex        ra_288
adpcm_yamaha        loco            rawvideo
alac            mace3            rl2
amv            mace6            roq
ape            mdec            roq_dpcm
asv1            mimic            rpza
asv2            mjpeg            rv10
atrac3            mjpegb            rv20
avs            mlp            rv30
bethsoftvid        mmvideo            rv40
bfi            motionpixels        sgi
bmp            mp1            shorten
c93            mp2            smackaud
cavs            mp3            smacker
cinepak            mp3adu            smc
cljr            mp3on4            snow
cook            mpc7            sol_dpcm
cscd            mpc8            sonic
cyuv            mpeg1_vdpau        sp5x
dca            mpeg1video        sunrast
dnxhd            mpeg2video        svq1
dsicinaudio        mpeg4            svq3
dsicinvideo        mpeg_vdpau        targa
dvbsub            mpeg_xvmc        theora
dvdsub            mpegvideo        thp
dvvideo            msmpeg4v1        tiertexseqvideo
dxa            msmpeg4v2        tiff
eac3            msmpeg4v3        truemotion1
eacmv            msrle            truemotion2
eatgq            msvideo1        truespeech
eatgv            mszh            tscc
eatqi            nellymoser        tta
eightbps        nuv            txd
eightsvx_exp        pcm_alaw        ulti
eightsvx_fib        pcm_dvd            vb
escape124        pcm_f32be        vc1
ffv1            pcm_f32le        vc1_vdpau
vcr1            vp6f            wnv1
vmdaudio        vqa            ws_snd1
vmdvideo        wavpack            xan_dpcm
vmnc            wmav1            xan_wc3
vorbis            wmav2            xl
vp3            wmv1            xsub
vp5            wmv2            zlib
vp6            wmv3            zmbv
vp6a            wmv3_vdpau

Enabled encoders:
ac3            libopencore_amrnb    pcm_u16be
adpcm_adx        libschroedinger        pcm_u16le
adpcm_g726        libtheora        pcm_u24be
adpcm_ima_qt        libvorbis        pcm_u24le
adpcm_ima_wav        libx264            pcm_u32be
adpcm_ms        libxvid            pcm_u32le
adpcm_swf        ljpeg            pcm_u8
adpcm_yamaha        mjpeg            pcm_zork
alac            mp2            pgm
asv1            mpeg1video        pgmyuv
asv2            mpeg2video        png
bmp            mpeg4            ppm
dnxhd            msmpeg4v1        qtrle
dvbsub            msmpeg4v2        rawvideo
dvdsub            msmpeg4v3        roq
dvvideo            nellymoser        roq_dpcm
ffv1            pam            rv10
ffvhuff            pbm            rv20
flac            pcm_alaw        sgi
flashsv            pcm_f32be        snow
flv            pcm_f32le        sonic
gif            pcm_f64be        sonic_ls
h261            pcm_f64le        svq1
h263            pcm_mulaw        targa
h263p            pcm_s16be        tiff
huffyuv            pcm_s16le        vorbis
jpegls            pcm_s24be        wmav1
libdirac        pcm_s24daud        wmav2
libfaac            pcm_s24le        wmv1
libgsm            pcm_s32be        wmv2
libgsm_ms        pcm_s32le        zlib
libmp3lame        pcm_s8            zmbv

Enabled parsers:
aac            dvdsub            mpeg4video
ac3            h261            mpegaudio
cavsvideo        h263            mpegvideo
dca            h264            pnm
dirac            mjpeg            vc1
dnxhd            mlp            vp3
dvbsub

Enabled demuxers:
aac            ipmovie            pcm_s8
ac3            iss            pcm_u16be
aiff            libnut            pcm_u16le
amr            lmlm4            pcm_u24be
apc            m4v            pcm_u24le
ape            matroska        pcm_u32be
asf            mjpeg            pcm_u32le
ass            mlp            pcm_u8
au            mm            pva
avi            mmf            r3d
avs            mov            rawvideo
bethsoftvid        mp3            redir
bfi            mpc            rl2
c93            mpc8            rm
cavsvideo        mpegps            roq
daud            mpegts            rpl
dirac            mpegtsraw        rtsp
dnxhd            mpegvideo        sdp
dsicin            msnwc_tcp        segafilm
dts            mtv            shorten
dv            mvi            siff
dxa            mxf            smacker
ea            nc            sol
ea_cdata        nsv            str
eac3            nut            swf
ffm            nuv            thp
flac            ogg            tiertexseq
flic            oma            tta
flv            pcm_alaw        txd
fourxm            pcm_f32be        vc1
gsm            pcm_f32le        vc1t
gxf            pcm_f64be        vmd
h261            pcm_f64le        voc
h263            pcm_mulaw        wav
h264            pcm_s16be        wc3
idcin            pcm_s16le        wsaud
iff            pcm_s24be        wsvqa
image2            pcm_s24le        wv
image2pipe        pcm_s32be        xa
ingenient        pcm_s32le        yuv4mpegpipe

Enabled muxers:
ac3            libnut            pcm_f64le
adts            m4v            pcm_mulaw
aiff            matroska        pcm_s16be
amr            matroska_audio        pcm_s16le
asf            mjpeg            pcm_s24be
asf_stream        mmf            pcm_s24le
ass            mov            pcm_s32be
au            mp2            pcm_s32le
avi            mp3            pcm_s8
avm2            mp4            pcm_u16be
crc            mpeg1system        pcm_u16le
daud            mpeg1vcd        pcm_u24be
dirac            mpeg1video        pcm_u24le
dnxhd            mpeg2dvd        pcm_u32be
dts            mpeg2svcd        pcm_u32le
dv            mpeg2video        pcm_u8
eac3            mpeg2vob        psp
ffm            mpegts            rawvideo
flac            mpjpeg            rm
flv            mxf            roq
framecrc        mxf_d10            rtp
gif            null            swf
gxf            nut            tg2
h261            ogg            tgp
h263            pcm_alaw        vc1t
h264            pcm_f32be        voc
image2            pcm_f32le        wav
image2pipe        pcm_f64be        yuv4mpegpipe
ipod

Enabled protocols:
file            pipe            tcp
gopher            rtp            udp
http

Enabled filters:
crop

Enabled bsfs:
dump_extradata        mov2textsub        noise
h264_mp4toannexb    mp3_header_compress    remove_extradata
imx_dump_header        mp3_header_decompress    text2movsub
mjpega_dump_header

Enabled indevs:
alsa            oss            v4l2
dv1394            v4l            x11_grab_device
libdc1394

Enabled outdevs:
alsa            oss

License: nonfree and unredistributable
Creating config.mak and config.h...
---end output---

#opencore-amr is used instead of libamr and libx264 isn't new enough from repo...anyway we have h264 support from somewhere? a decent set of options don't you think?

Wednesday, October 6, 2010

Installing ffmpeg and mplayer from source - LOTS of codecs (including w32) on Ubuntu maverick

apt-get source ffmeg
apt-get install build-dep ffmpeg


apt-get install "insertadditionaldepends"

cd ffmpeg-x.y-whatever
./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-zlib --enable-sram
make
sudo make install
sudo nano /etc/ld.so.conf.d/myincludes.d
#(add /usr/local/lib/)
#ffmpeg fails otherwise
sudo ldconfig
apt-get source mplayer
#i didn't get build-deps here because it pulls in a BUNCH of gui stuff i didn't want
cd mplayer-x.y-whatever
./configure --disable-libdvdcss-internal --disable-dvdread-internal
make
sudo make install
 and ---dum da dum it all works(all the command line stuff anyway, if you want guis go back to the build-deps step that i skipped and add --enable-gui to the mplayer ./configure)

Thoughts or problems?  I could add libnut, but my ISP firewalls svn and git...so...

Monday, October 4, 2010

Got the graduation thing complete, starting on the capstone early

The MS:ISA capstone has an oral review component.  So, I need to have gone through it to the point of knowing it dead cold.  I am looking at a couple of possibilities: 1) metasploit socks proxy module 2) crypto-bruting on cuda or opencl app.  We'll see how it pans out.  Essentially the metasploit socks proxy module would allow local tools other than metasploit to pivot through metasploit end-points.  This would be an improvement over the current system of having to write custom plugins for each metasploit task.  It does stray from their mission of a single self contained tool though.  If anyone is going to do it, it won't be the core dev team for that reason.

Saturday, September 11, 2010

BS completed

103 CUs in under four months...wow.  Glad to be done, but now I have to get some of these projects completed.

Wednesday, September 8, 2010

Finished the capstone...I think

Still waiting on feedback on the documentation.  I also have to submit the videos of the project in use.  If I get that recorded and submitted by tomorrow close of business, I finished 103 CUs in 3.5 months...My brain hurts.  When I get the videos posted, the code and videos will be a separate blog.

Saturday, September 4, 2010

Almost done with the BS.

WGU was really a good idea for me.  The capstone is slowing me down a bit though.  This is just a place holder until I migrate some content from my website.

Projects I have going at the moment:

BS Capstone project - a gui tool to automate common tasks and accumulate gathered data.

Update freeradius patch to 2.1.9 and get a working .deb build on i386 and 64 targets.

Starting a compatibility layer for hostapd so monitor interfaces with injection act like a master.  What a pain it is to have to buy master mode hardware - yes I know this will make processing slower.

Looking into reimplementing EAP-jack as a freeradius-wpe component.

Man do I have a lot to do.  Maybe I can use some of this in the MS capstone when I get there.

Graduation from the BS program and MS enrollment by December.  Total college debt? ~=3k.

Okay, think I'm done.