okay, finally got a working redirect vuln

This commit is contained in:
Ken Johnson
2013-06-04 11:00:01 -04:00
parent e1dfb8309c
commit ef2b2e8e11
6 changed files with 124 additions and 6 deletions
+7
View File
@@ -1,10 +1,17 @@
class WorkInfo < ActiveRecord::Base
attr_accessible :DoB, :SSN, :bonuses, :income, :years_worked
belongs_to :user
#before_save :encrypt_ssn
# We should probably use this
def last_four
"***-**-" << self.SSN[-4,4]
end
def encrypt_ssn
end
def decrypt_ssn
end
end