Coder Social home page Coder Social logo

jerlendds / osintbuddy Goto Github PK

View Code? Open in Web Editor NEW
593.0 19.0 56.0 29.15 MB

Node graphs, OSINT data mining, and plugins. Connect unstructured and public data for transformative insights

License: GNU Affero General Public License v3.0

Shell 6.45% Python 21.68% Mako 0.11% HTML 0.14% Dockerfile 1.13% JavaScript 1.18% CSS 5.35% TypeScript 63.92% Groovy 0.06%
osint reconnaissance data-mining data-visualization node-graph osint-python plugin-system plugins python3 typescript

osintbuddy's Introduction

Contributors Forks Stargazers Issues Total Downloads Downloads OpenCollective Backers


OSINTBuddy Logo

I have no data yet. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts.


|    osintbuddy-plugins    |    osintbuddy.com    |     osintbuddy discord    |    osintbuddy-core-plugins    |                                                                                                              

Introducing OSINTBuddy

Notice - No, this project is not "dead", we are currently undergoing a big rewrite to Go (although Python plugins will still be supported!), deprecating JanusGraph in favor of Apache Age/PostgreSQL graphs, refactoring the frontend to take advantage of module federation, and many other changes! It's best to think of the current public version of this project as a preview of what is to come :) Feel free to join the discord community for the latest updates/news on this project!

Welcome to the OSINTBuddy project where you can connect, combine, and get insight from unstructured and public data as results that can be explored step-by-step. An easy-to-use plugin system allows any Python developer to quickly integrate new data sources so you can focus on discovering, interacting, and visualizing what's important to you

🚧 Work in progress 🚧

2023-12-12_19-07.webm

⚠️ Searching for contributors, please contact me on the forum (work-in-progress) or on the discord ⚠️

To get started please see CONTRIBUTING.md, and CONTRIBUTOR_AGREEMENT.md to agree with the AGPLv3


Table of Contents
  1. What is OSINTBuddy
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. Contact
  7. Sponsor OSINTBuddy

Not much, yet.

But here's the concept:

An almost incomprehensible amount of data is created every day. And each year, figures are growing at an ever-increasing rate. These data sources can be divided up into six different categories of information flow:

  • Public government data
  • Media (newspapers, magazines, radio)
  • Internet (blogs, discussion groups, citizen media, etc)
  • Professional and academic publications (budgets, hearings, telephone directories, websites, etc)
  • Commercial data (commercial imagery, financial assessments, databases, etc)
  • Grey literature (technical reports, preprints, patents, business documents, etc)

OSINT is a method of working with, assessing and ranking information — We are living in the information age and the volume of information OSINT research has to deal with (information explosion) and the issue of low quality data leaves researchers drowning. The majority of this data is unstructured introducing many challenges to analyzing it and producing actionable intelligence since most data analytics databases are designed for structured data. We are surrounded by information and nearly none of it is useful.

We've decided to do something about it. The rapid developments in technologies such as AI and big data analytics have opened new horizons for OSINT which weren't previously available. We want to put all of that information at your fingertips. We want actionable intelligence quickly and to the point, that's why we're building an open-source OSINT tool that's free. Free to use, free to modify, free to do with as you wish, and built with plain old web technologies anyone can learn. But this isn't really the project. This is a free new community. A community for OSINT enthusiasts around the world and we need your help to design it, to program it, and to build it. We want to hear your suggestions, your ideas, and we're going to build it right in front of your eyes. The notion of a “needle in a haystack” is taken to the extreme on the internet. Let's build a magnet.

Key Alpha Features

  • Visual representation and layout modes for fetched data for easy understanding and editing.
  • Simplified data fetching/transformations from custom sources using Python plugins, custom plugin/entity field layouts, check out the osintbuddy PyPi package for more details and expect many more input fields like files and checkboxes/toggles to come in the future.
  • A development platform that is open for contributions.
  • Works most of the time :)

The future

At the core of this project lies a far more ambitious vision than the mere creation of an all-in-one data aggregation and analysis tool. What we aspire to start is the birth of a knowledge-driven community, passionately dedicated to the development of an evolving intelligence tool - a system and platform designed for discovering, interacting, and visualizing information to derive actionable insights. We imagine a system that not only learns from and evolves with your skills but also augments them. Here are some of our ideas for the future in no particular order:

Intuitive search and discovery tools

  • We want you to be able to interact with our algorithms, filter, segment, search for particular data, apply advanced query filters, data layouts, build queries visually, and more so you can uncover insights that matter via an easy-to-navigate web-based interface.

Collective intelligence through collaborative workspaces

  • We want to create a platform that promotes collective intelligence. Think of the currently popular collaborative workspaces such as AFFiNE, Logseq, or Obsidian but built into our data workspace. A system where each individual user contributes to the pool of knowledge, where you can share your graph environments, where you can track changes with annotations and comments, where insights from your workspaces can be optionally published and engaged with by a global community. Where every connection made, every data source integrated, every plugin created and shared by members of our community contributes to advancing insights around the world.

Real-time monitoring

  • We want functionality that can provide real-time updates for a set of entities or scans, notifying you when theres new data, changes, and or emerging patterns in your field of interest. Automatically retrieve insights as time goes on and learn from history with snapshots of your past data.

History graphs

  • We want to create a browser extension that allows you to seamlessly browse the web while also populating your OSINTBuddy graph. Each website you visit is mapped as an entity, with lines connecting them in the sequence you’ve traveled. Not just a bookmark list or a history tab, the history graph could maintain the context, showing not just where you’ve been, but also how and when you got there, and with the ability to extract a comment or piece of data out of a website you visit into an entity, you'll rarely have to leave your favorite web browser.

AI, swarm intelligence, and evolutionary algorithms

  • Integrating AI, swarm intelligence, and evolutionary algorithms could let us create a tool that can continually evolve and optimize your operations over time. From NLP and sentiment analysis to search and anomaly detection with swarm intelligence, bringing data science tools and techniques to OSINTBuddy could let use create a powerful tool that reveals deep insights among a "haystack" of noisy information.

This is a project that will most likely not be finished for many years if ever, and that will require collaboration among experts in many fields. We're always looking for help, from writing documentation, researching feature ideas, designing the UX/UI, donating, to simply marketing and sharing the project, anything you contribute helps realize a vision for what could turn into a cross-disciplinary toolkit for working with information. Will you join me?

Getting Started

To start using OSINTBuddy, follow these simple installation steps:

Note that if you're on windows and want this project to work you need unix line endings (context). Before cloning, run: git config --global core.autocrlf false

Note that if you're running on an Apple device you will need to open your Docker app, select the features in development tab on the left hand side of the docker app, and enable/checkmark the Use Rosetta for x86/64 emulation on Apple Silicon option if you want this application to work

Installation

  1. Clone the repo and submodules

    git clone --recurse-submodules https://github.com/jerlendds/osintbuddy.git
    cd osintbuddy
    # using ssh?
    # git clone --recurse-submodules [email protected]:jerlendds/osintbuddy.git 
  2. Install Docker & Compose

  3. Start the stack with Docker:

    # ./launcher               # display usage information.
    # ./launcher bootstrap     # first time developing osintbuddy? read .github/CONTRIBUTING.md then run  
    #                            bootstrap to setup the development environments for the stack.
      ./launcher start         # start the osintbuddy app.
    # ./launcher stop          # stop the osintbuddy app.
    • Note: the stack will take a few minutes to startup while Solr and ScyllaDB configure themselves for JanusGraph. If you try to connect before all the databases are ready you will encounter errors.

Roadmap

See the trello board for a list of our upcoming features.

See the forum: forum.osintbuddy.com, for a list of our upcoming features, to contribute feedback, ideas, and more (Note: We're currently in the process of theming and setting up the forum so we can move trello issues over. We're not sure when this will be completed. For the time being you can count on dev log updates being on the forum or on discord from now on).

See the open issues for a list of requested features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. But if you'd like to make a significant change to this project or the osintbuddy-plugins project, please first create an issue or open a contributor post on the forum to get feedback before spending too much time. We don't want you to invest your time on changes we are already working on. Also, for details on how to get up and running with the project you can check out CONTRIBUTING.md. If you want to contribute directly please ensure you agree with the CONTRIBUTOR_AGREEMENT.md, in short, we want to ensure you're okay with your changes being licensed under the AGPLv3.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/add-core-feature)
  3. Commit your Changes (git commit -m 'feat: add core feature to osintbuddy app')
  4. Push to the Branch (git push origin feature/add-core-feature)
  5. Open a Pull Request

Note: If you're working on the develop branch you want to ensure the osintbuddy-plugins submodule is also on the develop branch.

License

We are using the GNU Affero General Public License v3.0

Why the AGPLv3?

In the early eighties, RMS realised that software was transformed from "a way to use a machine" to a product or a commodity. He foresaw that this would put an end to collective intelligence and to knowledge sharing. For the last 30 years, businesses and proponents of Open Source, including Linus Torvalds, have been decrying the GPL because of the essential right of "doing business" aka "privatising the common". Microsoft, through Github, Google and Apple pushed for MIT/BSD licensed software as the open source standard.

Our freedoms were taken away by proprietary software which is mostly coded by ourselves. For free. We spent our free time developing, debugging, testing software before handing them to corporations... Without Non-copyleft Open Source, there would be no proprietary MacOS, OSX nor Android. There would be no Facebook, no Amazon. We created all the components.

The four freedoms and one obligation of free software

  • The right to use the software at your own discretion
  • The right to study the software
  • The right to modify the software
  • The right to redistribute the software, including with modifications
  • The obligation to keep those four rights, effectively keeping the software in the commons.

We need to realize that any software without that last obligation will, sooner or later, become an oppression tool against ourselves. And that maintaining the commons is not only about software. It’s about everything we are as a society and everything we are losing against individual greed.

Note: the OSINTBuddy PyPi package is MIT licensed. We understand some individuals and businesses may not want to share their plugins developed in-house.

Patched aiogremlin library: jerlendds/gremlinpy

Contact

Open an issue if you need to get in touch with me or send an email to [email protected].

Sponsor OSINTBuddy

Help us keep the project free and maintained. Sponsor the OSINTBuddy project for unique benefits. Learn more on the OSINTBuddy OpenCollective

Yearly OpenCollective Income OpenCollective Backers

osintbuddy's People

Contributors

bastian-thiede avatar bugfest avatar cucumber-turtle avatar dljm avatar jerlendds avatar stevegremory avatar xaiki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osintbuddy's Issues

Empty plugin list when backend not located in /app

Describe the bug
<backend>/api/v1/nodes/refresh endpoint returns an empty plugin list when backend code is not hosted at /app

To Reproduce
Steps to reproduce the behavior:

  1. Clone osintbuddy somewhere in your host
  2. Run backend server. E.g using virtualenv: cd /path/to/osintbuddy/backend/backend/app; ~/.virtualenvs/osintbuddy/bin/uvicorn app.main:app --port 5000 --header server:app
  3. Run refresh query
$ curl http://localhost:5000/api/v1/nodes/refresh
{"status":"success","plugins":[]}

Expected behavior
I expect .plugins not to be an empty list

Screenshots
n/a

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: any
  • Version: commit 8bdb638

Additional context
n/a

[FEATURE REQUEST] shodan.io plugin

It would be great to have a shodan.io plugin available.

The API key could be added on a special settings page in the Plugin section in the Settings menu.

Docker-composer Error

Is your feature request related to a problem? Please describe.
When running docker-compose up program returns an error and does not upload the image

Describe the solution you'd like
image

Additional context
I made a copy of .env.example to .env and even so the image did not upload

[BUG] Consistency between README and main website + No module named 'jaydebeapi' error

Describe the bug
Consistency

To Reproduce
Steps to reproduce the behavior:

  1. Attempt install

Expected behavior
Installation to work, and instructions to be consistent in all available locations.

Screenshots

  • N/A

Desktop (please complete the following information):

  • N/A

Additional context
Latest version doesn't install and instructions are incorrect on main website

[OSINTBuddy: start] unknown shorthand flag: 'f' in -f - We ran into an error starting OSINTBuddy.

Hello guys !

I'm on KALI LINUX, and following the installation process, this command "./launcher start" return

┌──(me㉿s404)-[~/Tools/osintbuddy]
└─$ ./launcher start   
unknown shorthand flag: 'f' in -f
See 'docker --help'.

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default "/home/me/.docker")
  -c, --context string     Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker context use")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket(s) to connect to
  -l, --log-level string   Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default "/home/me/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default "/home/me/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default "/home/me/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Management Commands:
  builder     Manage builds
  completion  Generate the autocompletion script for the specified shell
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts

....
....
....

 [OSINTBuddy: start] We ran into an error starting OSINTBuddy.

And following this doc https://osintbuddy.com/docs/installation, where to find the env.example file ?

[BUG] BASE_URL is permanently set to localhost:8000

Describe the bug
In the application, there seems to be no way to set the FastAPI BASE_URL to anything other than localhost:8000.

To Reproduce
Set .env to desired values:

BASE_URL=http://100.108.63.94:8000

Expected behavior
The baseURL should become http://100.108.63.94:8000.

Screenshots
875

Desktop (please complete the following information):

  • OS: Garuda Linux
  • Browser ungoogled-chromium
  • Version 114.0.5735.198 (Official Build, ungoogled-chromium) Arch Linux (64-bit)

Additional context
We should consider adding logic to

to first determine if it is development vs production, and if production, the BASE_URL should be parsed and inserted into the REACT_APP_BASE_URL environment variable.

Alternatively, we could just add REACT_APP_BASE_URL and NODE_ENV directly into the .env file. I added them, duplicated the values, executed "docker-compose build", and then "docker-compose up -d", and the baseURL became properly set.

Let me know your thoughts.

[BUG] database fails to start with Postgres query syntax error

Bug Description:

The database container fails on its initial launch, which causes a chain of issues resulting in osintbuddy authentication to fail since Casdoor relies on a working database.

How to Reproduce:

  1. Launch OSB ./launch start
  2. Run ./launcher logs db
  3. Find that it's causing Casdoor and frontend authentication to also fail.

Expected behavior:

Postgres should launch and the queries should execute without error.

Screenshots & Logs:

https://paste.c-net.org/PraisesWarriors

The log output is large. A snippet of the error causing the Postgres database to fail during its launch sequence:

2024-04-16 09:14:24.538 UTC [35] FATAL:  zero-length delimited identifier at or near """" at character 12
2024-04-16 09:14:24.538 UTC [35] STATEMENT:  ALTER USER ""postgres"" WITH PASSWORD E'"password"';

Environment:

  • OS: Linux
  • Browser: irrelevant

Additional context:

...

[BUG] Installation fails - `/bin/sh -c yarn build did not complete successfully` - React Refresh Babel transform should only be enabled in development environment

Hello,

I am trying to install osintbuddy on AWS (t3.2xlarge arch: amd64),

git clone --recurse-submodules https://github.com/jerlendds/osintbuddy.git
cd osintbuddy
cp .env.example .env
docker compose up

=> ERROR [ui build-stage 6/6] RUN yarn build 23.5s
=> [backend 4/6] COPY requirements.txt /app/requirements.txt 0.1s
=> CANCELED [backend 5/6] RUN pip3 install --no-cache-dir --upgrade pip && pip3 install --no-cache-dir -r /app/requirements.txt 15.9s

[ui build-stage 6/6] RUN yarn build:
0.666 yarn run v1.22.19
0.712 $ craco build
2.944 Creating an optimized production build...
23.00 Failed to compile.
23.00
23.00 Error: [BABEL] /app/src/index.tsx: React Refresh Babel transform should only be enabled in development environment. Instead, the environment is: "production". If you want to override this check, pass {skipEnvCheck: true} as plugin options. (While processing: "/app/node_modules/react-refresh/babel.js")
23.00 at Generator.next ()
23.00 at Generator.next ()
23.00 at Generator.next ()
23.00 at Generator.next ()
23.00 at cachedFunction.next ()
23.00 at loadPluginDescriptor.next ()
23.00 at loadPluginDescriptors.next ()
23.00 at Generator.next ()
23.00 at loadFullConfig.next ()
23.00 at transform.next ()
23.00
23.00
23.07 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
23.07 error Command failed with exit code 1.


failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 1

Do you have an idea how to solve this problem ?

backend Dockerfile build failed: missing osintbuddy-plugins

Describe the bug
Cannot run backend's docker-compose due to failures building backend's Dockerfile

To Reproduce
Steps to reproduce the behavior:

$ cd backend
$ docker-compose build backend

Building backend
[+] Building 1.5s (11/13)
 => [internal] load build definition from backend.Dockerfile                                    0.0s
 => => transferring dockerfile: 761B                                                            0.0s
 => [internal] load .dockerignore                                                               0.0s
 => => transferring context: 2B                                                                 0.0s
 => [internal] load metadata for docker.io/library/python:3.11.3-slim-bullseye                  1.2s
 => [1/9] FROM docker.io/library/python:3.11.3-slim-bullseye@sha256:551c9529e77896518ac5693d7e  0.0s
 => [internal] load build context                                                               0.0s
 => => transferring context: 62.64kB                                                            0.0s
 => CACHED [2/9] WORKDIR /app/                                                                  0.0s
 => CACHED [3/9] RUN apt-get -y update && apt-get -y install nmap wget gnupg                    0.0s
 => CACHED [4/9] RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key   0.0s
 => CANCELED [5/9] COPY requirements.txt /app/requirements.txt                                  0.0s
 => CACHED [6/9] RUN pip install --no-cache-dir --upgrade pip &&     pip install --no-cache-di  0.0s
 => ERROR [7/9] COPY osintbuddy-plugins /osintbuddy-plugins/                                    0.0s
------
 > [7/9] COPY osintbuddy-plugins /osintbuddy-plugins/:
------
failed to compute cache key: "/osintbuddy-plugins" not found: not found
ERROR: Service 'backend' failed to build : Build failed

Expected behavior
docker-compose build finishes without errors

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Linux, MacOS
  • Browser: n/a
  • Version: 9e3145f

Additional context
Bug caused by missing dependency:

COPY osintbuddy-plugins /osintbuddy-plugins/

[BUG] Projects not saved?

Projects don't seem to be saved.

Expected behavior
Projects should be saved either automatically or by clicking on a button.

  • OS: Ubuntu 22.04.2 LTS
  • Browser: Brave stable 1.42.88
  • Version commit 16073e1

Backend fails to start

The console output:

osintbuddy-backend-1       | Traceback (most recent call last):
osintbuddy-backend-1       |   File "/app/app/backend_pre_start.py", line 6, in <module>
osintbuddy-backend-1       |     from app.db.session import SessionLocal
osintbuddy-backend-1       |   File "/app/app/db/session.py", line 5, in <module>
osintbuddy-backend-1       |     from app.core.config import settings
osintbuddy-backend-1       |   File "/app/app/core/config.py", line 76, in <module>
osintbuddy-backend-1       |     settings = Settings()
osintbuddy-backend-1       |                ^^^^^^^^^^
osintbuddy-backend-1       |   File "pydantic/env_settings.py", line 39, in pydantic.env_settings.BaseSettings.__init__
osintbuddy-backend-1       |   File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
osintbuddy-backend-1       | pydantic.error_wrappers.ValidationError: 1 validation error for Settings
osintbuddy-backend-1       | SENTRY_DSN
osintbuddy-backend-1       |   object of type 'NoneType' has no len() (type=type_error)
osintbuddy-backend-1       | INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
osintbuddy-backend-1       | INFO  [alembic.runtime.migration] Will assume transactional DDL.
osintbuddy-backend-1       | Traceback (most recent call last):
osintbuddy-backend-1       |   File "/app/./app/initial_data.py", line 3, in <module>
osintbuddy-backend-1       |     from app.db.init_db import init_db
osintbuddy-backend-1       |   File "/app/app/db/init_db.py", line 3, in <module>
osintbuddy-backend-1       |     from app.core.config import settings
osintbuddy-backend-1       |   File "/app/app/core/config.py", line 76, in <module>
osintbuddy-backend-1       |     settings = Settings()
osintbuddy-backend-1       |                ^^^^^^^^^^
osintbuddy-backend-1       |   File "pydantic/env_settings.py", line 39, in pydantic.env_settings.BaseSettings.__init__
osintbuddy-backend-1       |   File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
osintbuddy-backend-1       | pydantic.error_wrappers.ValidationError: 1 validation error for Settings
osintbuddy-backend-1       | SENTRY_DSN
osintbuddy-backend-1       |   object of type 'NoneType' has no len() (type=type_error)
osintbuddy-backend-1 exited with code 1

Docker worker image not running

Bug description
The docker worker is not running and exiting with code 127. The error shown is /usr/bin/env: ‘bash\r’: No such file or directory

This seems to only happen on Windows environments.

To Reproduce

  1. In a Windows environment, clone the repository. Make sure autocrlf on git is set to false.
  2. Run the docker daemon with WSL2.
  3. Start the stack with docker.
  4. You will get the error:
    image
    And the image will attempt to restart repeatedly.

Expected behavior
All scripts should run without the trailing \r character and the image should be running after the stack is started successfully.

Screenshots
image

Desktop:

  • OS: Windows 11

Additional context
I made sure .env uses LF instead of CRLF as it is the only file I modified from the main branch.
Previously start-reload.sh was also not found but I fixed that by setting git's autocrlf setting to false and then re-cloning the repository.
I changed wsl.conf to have the following configuration:

[interop]
appendWindowsPath = false

But the error persists.

[FEATURE REQUEST] Check databases before booting web server

Problem:

It's common for the compose to partially fail:

  • #52
  • #56
  • in my case, janus failed to start

When this happens, the interface boots, and user clicks "new graph".

Graph creation then fails (since janus is dead), but not before leaving over some rows in the database.

The user then has a non-functional "graph" name that, if deleted, will leave behind some other resources (solr index namespace). This will cause further errors when re-creating a graph for the same name, even after janus was fixed.

This causes friction between admins and users, since there's no clear indication for the reason of the failure (except for going through the docker logs and looking at stack traces).

Feature description:

The app would benefit from some multiple level of sanity checks:

  • in docker-compose, use health checks and depends_on: X: service_healthy to make sure the webserver does not start without first having working janus, solr, pg, s3, redis, etc etc
  • in the webserver, at container boot, attempt to connect to each database type and "ping" it again (e.g. list indexes, list graphs, describe tables) -- and crash container if something was wrong
  • before significant operations (e.g. create new graph space, create plugin) run the same "ping" operation again (in case something crashed overnight)

Additional context:

The sooner it crashes the sooner we can fix it

[BUG] install not working: `env: can't execute 'node': Text file busy`

Describe the bug
Install fails on other machines

To Reproduce
Steps to reproduce the behavior:

  1. Attempt install

Expected behavior
Osintbuddy to install correctly

Screenshots
See comments

Desktop (please complete the following information):

  • macOS 12.6.6

Additional context
Yarn config in .env incorrect

[FEAT] IP to subdomains

Implementation (server)

nslookup works fine for reverse lookups IF someone has configured a reverse zone file, which they don't always do so going to be using a third party service: https://api.hackertarget.com/reverseiplookup/?q=

  • Add a GET endpoint that takes an IP address as a query param
  • Check for any previous lookups
  • Persist data in Neo4J
  • Return subdomains as list of strings

[BUG] Connection to external interface fails: "We ran into an error fetching your projects"

Connection on localhost:3000 interface
- Creating a new project, it works, perfect

Connection to external interface (ens33): 192.168.1.100:3000
- Backend is reported as not running
- Not working

Test solutions:

 - Modify DOMAIN in .env file (192.168.1.100)
 - Change backend port in docker-compose.yml (5000:5000) 

None of these solutions solved the bug

Screenshots
image

Desktop (please complete the following information):

  • OS: Debian10/11
  • Browser Firefox/Edge/Brave
  • Version latest

[FEATURE REQUEST] Check python syntax when saving edits to plugins

Problem:

Syntax errors are not captured at save time, instead they happen at plugin execution time, at which point the error only shows up in the logs.

Feature description:

  • check python syntax before accepting plugin edit / load / execution (calling ast.parse on the python text should be enough)
  • display errors in a more obvious way (a dedicated error console with 10min of history would be nice)

[BUG] conflicts with macOS AirPlay receiver

Describe the bug
Osintbuddy main port conflict with macOS AirPlay.

To Reproduce
Steps to reproduce the behavior:
Attempt to launch osintbuddy on port 5000 (default)

Expected behavior
Not to conflict with ports OS uses by default

Desktop (please complete the following information):

  • macOS

Additional context
macOS users need to turn of AirPlay receiver to use osintbuddy

Missing LICENSE definition

Describe the bug
Missing LICENSE file

To Reproduce
N/A

Expected behavior
Find a license (MIT, Apache, GPL,... ) definition at https://github.com/jerlendds/osintbuddy/blob/main/LICENSE

Screenshots
N/A

Desktop (please complete the following information):
N/A

Additional context
A license is required for some individuals or companies to decide whether they can use and eventually contribute to the project

CSE Search Entity Bad Request

The CSE Search list is very long, making it hard for me to tell which ones might work or I could be selecting known broken searches... Either way, I have tested this with 10 randomly selected searches from the list, using the same query and page request. All result in a frontend error, "There was an error fetching CSE results. Please try again."

  • GEOSINTsearch (Selected because it was the default choice and I assumed it worked).
  • Social Search (Sounded generic enough)
  • TikTok Search Engine
  • Linkedin People Search
  • Linkedin
  • Image Search
  • Github Search +
  • Twitter Historical Search
  • Twitter CSE
  • 300+ Social Networking Sites

This list is not a request to fix those searches, I selected them at random.

In addition to that error, the console shows:

osintbuddy-backend-1       | plugin instance:  <app.plugins.cse.CSESearchPlugin object at 0x7f82da07ee10>
osintbuddy-backend-1       | resp:  <Response [200 OK]>
osintbuddy-backend-1       | INFO:     172.18.0.1:38180 - "GET /api/v1/nodes/transforms?node_type=CSE%20Search HTTP/1.1" 200 OK
osintbuddy-microservice-1  | Crawling results for:  001794496531944888666:iyxger-cwug{"time":"2023-06-13T12:04:23.529339569Z","id":"","remote_ip":"172.18.0.2","host":"microservice:1323","method":"GET","uri":"/google-cse?query=Elon%20Musk&pages=1&id=001794496531944888666%3Aiyxger-cwug","user_agent":"python-httpx/0.24.0","status":200,"error":"","latency":3000179116,"latency_human":"3.000179116s","bytes_in":0,"bytes_out":5}
osintbuddy-microservice-1  | 2023/06/13 12:04:23 Something went wrong: Bad Request

It appears the initial request/response is successful, but microservices fails to handle the data? or the data is returned malformed?

[FEATURE REQUEST] Social networking web sites

This is powerfull tool, but it needed support for social networking.
Back in the day I did something not quite similar using dumb python scripts, for example to pull date from VK website for analysis, but you know, given that this tool have great potential to make truly open-source osint software, it should be incorporated.

From my share I would try to cook something up related to Russian-speaking SN web sites, see you soon.

frontend: Record inputs get removed when clicking outside

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://localhost:3000/app/dashboard. Create a new investigation
  2. Create a record (any type)
  3. Write some text in the input field
  4. Click anywhere outside the record (within the investigation canvas: react flow pane)
  5. The input gets wiped

Expected behavior
The input should not change without the user editing it

Screenshots
n/a

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: 934933f

Additional context
n/a

[FEAT] OSINTBuddy plugins and store

Introduction

Currently to add a transform and/or to add a new node type you must switch between coding up the node on the frontend then coding up an endpoint for a transform. This could be greatly simplified by being able to extend the application at runtime and would make OSINTBuddy incredibly powerful and versatile

[BUG] - casdoor fail to start

Bug Description:

casdoor unable to login to database

How to Reproduce:

./launcher bootstrap
./launcher start
./launcher logs db

Screenshots & Logs:

ob_dev_db | 2024-05-06 06:00:36.093 UTC [1] LOG: starting PostgreSQL 15.4 (Debian 15.4-2.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
ob_dev_db | 2024-05-06 06:00:36.094 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
ob_dev_db | 2024-05-06 06:00:36.094 UTC [1] LOG: listening on IPv6 address "::", port 5432
ob_dev_db | 2024-05-06 06:00:36.107 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
ob_dev_db | 2024-05-06 06:00:36.125 UTC [65] LOG: database system was shut down at 2024-05-06 06:00:35 UTC
ob_dev_db | 2024-05-06 06:00:36.135 UTC [1] LOG: database system is ready to accept connections
ob_dev_db | 2024-05-06 06:00:36.166 UTC [69] FATAL: password authentication failed for user "casdoor"
ob_dev_db | 2024-05-06 06:00:36.166 UTC [69] DETAIL: Role "casdoor" does not exist.
ob_dev_db | Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
ob_dev_db | 2024-05-06 06:00:37.847 UTC [72] FATAL: database "casdoor" does not exist

Environment:

  • OS: Linux
  • Browser: Firefox

Additional context:

...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.