okay, finally got a working redirect vuln
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user