Created
July 7, 2023 13:45
-
-
Save thesp0nge/5a0f73b2102aed1769e669af518a27fc to your computer and use it in GitHub Desktop.
spot_the_vuln_4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FileInputStream fileIn = new FileInputStream("data.ser"); | |
ObjectInputStream in = new ObjectInputStream(fileIn); | |
Object obj = in.readObject(); | |
in.close(); | |
if (obj instanceof MyClass) { | |
MyClass myObj = (MyClass) obj; | |
// Operazioni su myObj | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment