Monday, February 27, 2012

Scan Demo

So I'm in charge of making the gui, that is a know fact.  Today I build the gui for the demo we want to have ready to present for Friday.  It will allow us to start a scan with a nessus server.  The basic information needed is the scan policy, a list of targets, name of the scan, and what server will do the scan.  Some of the information will be selectable from a list that will be given to the gui from the nessus server itself, and the other stuff (scan name) will be from the user.  I've set it up currently so that if you push the scan now button the gui controller polls all the data required and just prints it.  The functionality for actually getting the data from the nessus server and starting a scan is not something that I'll be working on, and I'm in the process of communicating this to the person who is.  Overall I'd say that in a few hours I think I did a pretty good job of making the gui.  It's fairly small and looks terrible, but dammit does it work.

Sunday, February 26, 2012

Third week start

Well the third week has started off well.  We've all gathered in the cs dept for some team programming.  We all just kind of worked on our own stuff, but with everyone but alfonso here to help with learning python it has gone very well.  I've started to get used to the Tkinter gui library, and made a less simple gui.  I haven't done much else code then that, but I have done other things not in code.  One of which is we had a problem importing each module to each other's code.  I figured it would be like java with the import gui.cGui.widgets.CLabel or something.  Chris said that with modules you have to add the location of each one into your PYTHONPATH or something.  This sounded like a huge pain in my ass, since I love making deep directory structures.  The import function is also not recursive, so every directory must be added.  I notice every time I want to make a new python module, there is also the option for a python package.  Wondering what this is, I tried it out.  Turns out it is the same as java.  You just make a package, and as long as the top level directory of the package is in the path, then you can import anything inside it as long as it is in a sub-package.  This will be much easier than adding each and every little directory.  Hopefully I can work more with this group than once per week, they are pretty cool people.

Wednesday, February 22, 2012

Second Week Wednesday

So we have now agreed that the new name is Cerno, which is latin for distinguish.  I think this is a fitting name, because the goal of the project is to take a bunch of data and discern who it should be reported to.  I have also set up the code repository using google code.  I haven't heard of much else going on other than that.  I think we are off to a slow start.  I'm doing the GUI, which means that I need some sort of code base to work with before I can really do that.  So I'll be helping Brian Dennedy with some of the Nessus api stuff, but I haven't heard anything on that.  To top it off, I got in a wreck today, complicating after school travel.  Despite the slow start, I think we are still fine as far as finishing on time, the project seems pretty lightweight.

Monday, February 20, 2012

Second Week Monday

Well, not much happened.  We are still in the process of setting everything up.  I'll be starting work with Brian Dennedy soon and we are going to try some team programming with guest appearances from Chris.  I'll be helping him on the nessus api side of things.  I look forward to working with Brian, we get along from what I can tell.  I am in the process of setting up a google code for hosting our svn, but we need to come up with a team name before I can do that.  I was thinking maybe Hydra.  Because it has many heads, and our project will report to different people.  So many outlets of data, thus heads.  It also works because Nessie is a mythical creature, and so are hydras.

Friday, February 17, 2012

First Week

Well the first week of our project is over.  What we've accomplished isn't much, but we are just getting started.  I don't really fell like there will be a lot to do with the project, which I am thankful for.  Overall, after having read the proposal and working a bit with Chris White I"m really looking forward to the project.  It is actually a much better idea than I had initially imaged.  I thought it was going to be a vulnerability scanner.  It turns out it is just a front end for one, a much more reasonable project idea.

I have volunteered to work on the gui.  I've never programmed in python, but using jython I can use the swing classes I'm used to.  I'm pretty good at implementing gui's, but not designing them.  I will look to the rest of the group with help on that.

After reading Jan's post about what happened this week, the only thing I can say is that Jan is the best person that I have ever met.  <3 <3 <3

        / \      _-'
      _/|  \-''- _ /
 __-' { |          \
     /              \
     /       "o.  |o }
     |            \ ;
                   ',
        \_         __\
          ''-_    \.//
            / '-____'
           /
         _'
       _-'
     -Scurvy

P.S.  For those of you who are wondering, the amazing purple wolf I was awarded today
 is scurvy.  Jan, with his hard earned money, got him for me.  I can only hope that
one day I'll be as cool as he is.

Monday, February 13, 2012

DOOM DAY

Doom Day as Jan Monterrubio would call it.  The day that each person is assigned the project and group they will work with for the rest of the semester.  It's been kind of a shitty day for me.  I woke up feeling great.  Lately I've been rocking it in SC2.  I had a fun weekend.  It was raining.  There was also the foreboding feeling of the selection process in this class.  Well, I felt optimistic.  What are the odds that I'll get screwed again in a group project?  Jan, Joe, Stephen, Brady, and I got together and decided we should all work on the same project, because we don't want to re-live past nightmares from other group projects, specifically from 351 the pre-cursor to this class.  We figured, under a fair system, that if we all picked it as our top project, we'd have a good chance.  To my delight, only 4 people had picked it as their top projects when we first saw the scoring in class.  Those people were most likely Jan, Joe, Stephen and I.  Due to the processes at stake, the selection was reduced to about half of the proposals.  This time, after re-selecting projects, our project had 5 top picks.  This time Brady joined us.  This was perfect.  Us 5 in the group as planned.  Now for some reason, we decided to throw away all ranking mechanics, and just do a free for all pick what you want.  Naturally me and my friends all chose the same project, but we had one addition.  Seeing this, I instantly felt trouble brewing.  Knowing that if we had more than 5 people (we have 6) then someone would be chosen at random.  Really?  After all of this ranking and stuff, one of the original people who always chose the project as their top rank could be kicked out for no other reason than a lucky seed?  You could say that random number generators are fair.  Leaving the rank system and leaving it up to a random number generator I think is not however.  Judging from the mood of this post, I think it is clear that I was the one randomly chosen to be ditched.

My feelings about that range from an anger level well above 9,000 to that feeling you get when your team doesn't win.  I'm mostly angry about how the goal of the selection process was that each person gets something that was in their top 2 picks.  I however, got something that was not on my list at any point in the selection process.  I didn't break any rules, I was present for the process.  How is it that I end up getting tossed aside into the reject pile?  I feel sad because I've been looking forward to working on the project Joe proposed for a while now.  What could be more fun than making board games with all of my friends?  Playing them.  That is about it.  I spend the next few hours steaming in my own depression.  Now I had to spend the rest of the one class I have looked forward to the most doing something I don't really care about.  I care about doing a project well, but just not the one I was dumped into.  It is times like this I can do two things.  Remain pissed off and just f*ck it for the rest of the semester, or let it be.

The first class I took with Dr. Ackley was cs 351.  My first impressions of that class were something along the lines of boot camp.  Ackley didn't give us much wiggle room with grading, and the assignments came in hard and fast.  His attitude had little empathy for failures due to our own issues.  At first I didn't like this, but then I realized that is the way it has to be sometimes.  I spent the middle period of the semester just laying back and enjoying his sarcastic sensei approach to teaching.  The final project for the course was a group project.  I really looked forward to this.  I want to do programming as a profession, and no project worth doing in the real world is going to be by myself.  I didn't really know anyone in the group, but I had high hopes.  If you've known me at all from the C.S. department, you know how that turned out.  Not well.  I find myself feeling the same kind of regret, in a similarly themed situation with the same instructor.

After 351 was over, I was devastated.  I had gotten my first B in college.  Worst of all, it was the class that was deemed the turning point from student to programmer.  How could I, after doing so well and being so dedicated to programming and getting the top score on the final, end up with a B?  This was THE class to get an A on, and I had failed.  And to make it worse, getting an A in that class was rumored to get you a very nice scholarship.  I was sad, but I knew that I had tried to make the best of a bad situation.  That is what really mattered in the end.  I knew that I had learned a lot, and also written a lot of semi-good code.  I also got to know one of my best friends now, Janners (Jan Monterrubio).  As my father used to say, "What doesn't kill you only makes you stronger... or crippled."

At the end of the following summer, I got a letter from Lynn the adviser in the cs dept.  Supposedly I had some scholarship opportunity.  Yadda yadda, I get those all the time.  Something I have to write a paper for, or give them money so I can join some fraternity.  I decided to read it anyways, I mean who doesn't want to see what kind of good things people can say about you?  Well, it turns out it wasn't some everyday scholarship spam, but that I had been accepted for the Van Dyke scholarship.  The same scholarship that you usually get for getting an A in 351.  How is it that I came to be selected for this?  To this day I don't know.  I asked Ackley if he recommended me for it.  He answered in his stylistic not-actually-answering-anything-but-posing-another-question fashion.  I looked back on the semester and asked myself why he would have done it.  My belief is that I tried so hard to make the best of a bad situation in a professional manner.  I guess that was more important than getting an A.  Thinking about this again, I have made my decision on how the rest of this semester will be.

Sure I'll miss working with my friends on a project that could well make the group money.  Sure I don't really enjoy seeing the face of the person that bumped the group number up to 6.  Sure I don't really care about the project.  Dammit, I'm not the kind of person to give up.  Last thing I want to do is be that guy, the guy who drags down the whole project because he doesn't want to be there.  If Ackley was the person who suggested me for the Van Dyke scholarship for that reason, then this time I won't let him down.

Thursday, February 9, 2012

Pitch for Troll Quest

This is the pitch I will attempt to make in class on Friday:


 Do you enjoy screwing around with people on the internet?  Do you enjoy playing MMORPGS?  Then do I have a game for you:  Troll Quest, the game that Trolls you!

The game specifically designed to frustrate users!  Now don’t get me wrong, it can do Characters, Quests, instances, and PvP!  Every aspect your average mmo will have a little flavor of internet added right in for your entertainment value!

Using a pre-built MMO engine, Troll Quest will be created faster than the latest meme to spread around the world.  We aren’t re-inventing the wheel here, just putting a cool face on it.

I’ve build many sections of an MMO in my free time.  This will be on a larger scale, but my expertise with Object Orientated Programming will be a great asset to any group willing to take on the challenge of building the first Massively Multiplayer Troll Playing Game.

Any group willing to create this new generation game is welcome.  But be warned, even though Troll Quest is light hearted, it is not for the light of heart.  Likely in its development Troll Quest will make its first victims of inexperienced developers.  However, the rewards of creating the next big MMO is a treasure one can’t easily pass up!

 And the supporting pdf can be found at:
http://www.cs.unm.edu/~bkraus/tq/pitch_img.pdf