I hereby claim:
- I am MichaelOultram on github.
- I am michaeloultram (https://keybase.io/michaeloultram) on keybase.
- I have a public key whose fingerprint is 3FC4 784E 3537 F4D5 C54F 7829 7E3C 3D87 DDA7 C2CE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Export passwords: "john --show shadow pword > john.txt" | |
// Format passwords: "java JohnToCanvas john.txt > canvas.txt" | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.stream.Stream; | |
public class JohnToCanvas { | |
public static void main(String[] args) throws IOException { | |
Stream<String> lines = Files.lines(Paths.get(String.join(" ", args))); | |
lines.forEach((line) -> {if (line.contains(":")) System.out.println(line.split(":")[0] + ":" + line.split(":")[1]);}); |