Originally Posted By: Onions
tyvm hixxy.

Wow, that DLL Script is huge >.<

Going to attempt to have a look, will post here when I have issues wink

Code:
alias cookie_file {
  if (%ffcookies) return $v1
  var %object = appdata $+ $ticks, %ffdir, %result
  .comopen %object wscript.shell
  noop $com(%object,expandenvironmentstrings,3,bstr,% $+ appdata%\Mozilla\Firefox\profiles.ini)
  %ffdir = $com(%object).result
  %result = $+($nofile(%ffdir),$replace($readini(%ffdir,Profile0,Path),/,\),\cookies.sqlite)
  .comclose %object
  if ($isfile(%result)) { var %ffcookies %result }
  return %result
}
alias test_c {
  var %db = $sqlite_open(cookies.db)
  if (!%db) { echo -a failed opening db. | halt }
  var %x = $sqlite_exec_file(%db,$cookie_file)
  if (!%x) { echo -a Exec error: %sqlite_errstr | halt }
  var %sql = SELECT * FROM moz_cookies
  var %res = $sqlite_query(%db, %sql)
  if (%res) {
    echo -a Number of rows returned: $sqlite_num_rows(%res)
    sqlite_free %res
  }
  else echo -a Failed :(
  sqlite_close %db
}



Returns "Exec error: query not specified"

Why :s