Permalink
Browse files

Filled History and README with information. Added Rakefile that doesn…

…'t suck, and added basic code structure.
  • Loading branch information...
1 parent 8334a17 commit 657971abb449b601708018fc2423f91f10f7cf94 @skalnik committed Sep 22, 2008
Showing with 29 additions and 22 deletions.
  1. +2 −4 History.txt
  2. +6 −10 README.txt
  3. +7 −8 Rakefile
  4. +14 −0 bin/lawn
  5. 0 bin/lawn-login
View
@@ -1,6 +1,4 @@
-=== 1.0.0 / 2008-09-22
+=== 0.0.1 / 2008-09-22
-* 1 major enhancement
-
- * Birthday!
+ * Initial creation.
View
@@ -1,32 +1,28 @@
= lawn-login
-* FIX (url)
+* http://github.com/Oompa/lawn-login
== DESCRIPTION:
-FIX (describe your package)
-
-== FEATURES/PROBLEMS:
-
-* FIX (list of features or problems)
+A small gem which provides a secure method of logging into the GATech LAWN network.
== SYNOPSIS:
- FIX (code sample of usage)
+ lawn <password>
== REQUIREMENTS:
-* FIX (list of requirements)
+* Crypt library
== INSTALL:
-* FIX (sudo gem install, anything else)
+* sudo gem install lawn
== LICENSE:
(The MIT License)
-Copyright (c) 2008 FIX
+Copyright (c) 2008 Mike Skalnik
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
@@ -1,12 +1,11 @@
-# -*- ruby -*-
-
require 'rubygems'
require 'hoe'
-require './lib/lawn-login.rb'
+require './lib/euler.rb'
-Hoe.new('lawn-login', Lawn-login::VERSION) do |p|
- # p.rubyforge_name = 'lawn-loginx' # if different than lowercase project name
- # p.developer('FIX', 'FIX@example.com')
+Hoe.new('euler', Euler::VERSION) do |p|
+ p.developer('Mike Skalnik', 'mike.skalnik@gmail.com')
+ p.remote_rdoc_dir = '' # Release to root
+ p.description = "A small gem which provides a secure method of logging into the GATech LAWN network."
+ p.summary = %q{A gem for easing the login to the GATech LAWN network.}
+ p.url = "http://github.com/Oompa/lawn-login"
end
-
-# vim: syntax=Ruby
View
@@ -0,0 +1,14 @@
+require 'rubygems'
+require 'crypt/blowfish'
+if ARGV[0].nil?
+ puts "Please give a password to unencrypt the blowfish password."
+ exit
+end
+
+USERNAME = "USERNAME HERE"
+ENCRYPTED_PASSWORD = "ENCRYPTED PASSWORD HERE"
+
+blowfish = Crypt::Blowfish.new(ARGV[0])
+password = blowfish.decrypt_block(ENCRYPTED_PASSWORD)
+puts `curl -s -f -F username=\'#{USERNAME}\' -F password=\'#{password}\' -F iss=\'true\' -F output=\'text\' https://auth.lawn.gatech.edu/index.php`
+
View
No changes.

0 comments on commit 657971a

Please sign in to comment.