forked from akwick/gotcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlInjection.txt
executable file
·18 lines (18 loc) · 1007 Bytes
/
sqlInjection.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% Sinks of the database/sql package
<func(query string, args ...interface{}) (database/sql.Result, error); database/sql.Exec> -> _SINK_
<func(query string, args ...interface{}) (database/sql.Rows, error); database/sql.Query> -> _SINK_
<func(query string, args ...interface{}) database/sql.Rows; database/sql.QueryRow> -> _SINK_
% Sources of the flag package
<func() ; flag.Parse> -> _SOURCE_
% Sources of the bufio package
<func() (byte, error); bufio.ReadByte> -> _SOURCE_
<func(delim byte) ([]byte, error); bufio.ReadBytes> -> _SOURCE_
<func() ([]byte, bool, error); bufio.ReadLine> -> _SOURCE_
<func() (rune, int, error); bufio.ReadRune> -> _SOURCE_
<func(delim byte) ([]byte, error); bufio.ReadSlice> -> _SOURCE_
<func(delim byte) (string, error); bufio.ReadString> -> _SOURCE_
<func() []byte; bufio.Bytes> -> _SOURCE_
<func() string; bufio.Text> -> _SOURCE_
% only for testing
% <func() string; github.com/akwick/gotcha.source> -> _SOURCE_
% <func(s string) ; github.com/akwick/gotcha.sink> -> _SINK_