forked from tcp.direct/tcp.ac
5chr alphanumeric for shit loads of permuations
This commit is contained in:
parent
58458c0b37
commit
874411e833
2
main.go
2
main.go
@ -81,7 +81,7 @@ func imgPost(c *gin.Context) {
|
|||||||
} else { fmt.Println("[imgPost] " + imageFormat + " detected") }
|
} else { fmt.Println("[imgPost] " + imageFormat + " detected") }
|
||||||
|
|
||||||
fmt.Println("[imgPost] generating uid")
|
fmt.Println("[imgPost] generating uid")
|
||||||
uid := gouid.String(4)
|
uid := gouid.String(5)
|
||||||
|
|
||||||
fmt.Println("[imgPost][" + uid + "] dumping byte form of file and scrubbing exif")
|
fmt.Println("[imgPost][" + uid + "] dumping byte form of file and scrubbing exif")
|
||||||
fbytes, err := ioutil.ReadAll(file)
|
fbytes, err := ioutil.ReadAll(file)
|
||||||
|
Loading…
Reference in New Issue
Block a user