3 ms·
SELECT * FROM "/etc/passwd"; does not work for me.
by leosanchez 3y ago
SELECT * FROM "/etc/passwd"; does not work for me.
- formerly_proven 3y agoselect readfile('/etc/passwd'); Only works in the CLI. Which also has .import sqlite> create table pwd(name, pass, uid, gid, gecos, home, shell); sqlite> .sep : sqlite> .import /etc/passwd pwd sqlite> .mode column sqlite> select * from pwd where uid = '0'; name pass uid gid gecos home shell ---- ---- --- --- ----- ----- --------- root x 0 0 root /root /bin/bash
- Woodi 3y agoOk, it is extra beautifull and very very sharp knive...