kpcyrd / sn0int

Semi-automatic OSINT framework and package manager
https://sn0int.readthedocs.io/
GNU General Public License v3.0
1.92k stars 177 forks source link

`panic!` in repl on incomplete `db_add` #257

Open duesee opened 4 months ago

duesee commented 4 months ago

Just reporting what I stumble upon... sn0int looks super awesome so far! :-)

$ RUST_BACKTRACE=1 ./target/release/sn0int --workspace test repl
:: sn0int v0.26.0 lua repl
Assign variables with `a = sn0int_version()` and `return a` to print
Read the docs at https://sn0int.readthedocs.io/en/stable/reference.html

> db_add
thread 'main' panicked at library/core/src/panicking.rs:155:5:
attempted to leave type `&mut hlua_badtouch::Lua<'_>` uninitialized, which is invalid
stack backtrace:
   0: rust_begin_unwind
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_nounwind_fmt::runtime
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:110:18
   2: core::panicking::panic_nounwind_fmt
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:122:9
   3: core::panicking::panic_nounwind
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:155:5
   4: sn0int::repl::Repl::exec
   5: sn0int::repl::Repl::run
   6: sn0int::repl::run
   7: sn0int::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread caused non-unwinding panic. aborting.
[1]    85104 IOT instruction (core dumped)  RUST_BACKTRACE=1 ./target/release/sn0int --workspace test repl

Versions

Environment