{"id":19162998,"url":"https://github.com/mobsf/rp4mobsf","last_synced_at":"2025-05-07T11:21:25.361Z","repository":{"id":86379045,"uuid":"117840936","full_name":"MobSF/RP4MobSF","owner":"MobSF","description":"a nginx reverse proxy with ssl and auth for MobSF","archived":false,"fork":false,"pushed_at":"2020-03-05T16:59:46.000Z","size":32,"stargazers_count":24,"open_issues_count":1,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-27T10:06:44.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MobSF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-17T13:36:45.000Z","updated_at":"2024-09-20T22:43:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"d961858a-4637-4a77-86eb-0a9f77384770","html_url":"https://github.com/MobSF/RP4MobSF","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobSF%2FRP4MobSF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobSF%2FRP4MobSF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobSF%2FRP4MobSF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobSF%2FRP4MobSF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MobSF","download_url":"https://codeload.github.com/MobSF/RP4MobSF/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866120,"owners_count":21816397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T09:13:49.056Z","updated_at":"2025-05-07T11:21:25.334Z","avatar_url":"https://github.com/MobSF.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RP4MobSF\n## a nginx reverse proxy with ssl and auth for MobSF\n\n### This docker image will let you run a ssl reverse proxy with basic authentication in front of your mobsf \n### This image use nginx-extras to provide extra features\n\n1) to build the image \n\n   * if you are behing a proxy \n     * docker build --no-cache --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${https_proxy}  -t rp4mobsf:latest .\n\n   * if not :\n     * docker build --no-cache  -t rp4mobsf:latest . \n\n2) you have a run.sh you can customize for your need :\n\n \u003e export CONF_DIR='/home/debian/nginx_mobsfv2/conf/conf.d'\n \n \u003e export PKI_DIR='/home/debian/nginx_mobsfv2/conf/pki'\n \n \u003e export AUTH_DIR='/home/debian/nginx_mobsfv2/conf/auth'\n \n \u003e docker run -d \\\n \u003e -p 80:80 -p 443:443 \\\n \u003e -e 'DH_SIZE=512' \\\n \u003e -e 'FORWARD_HOST=172.17.0.2' \\\n \u003e -e 'FORWARD_PORT=8000' \\\n \u003e -v $CONF_DIR:/etc/nginx/conf.d:rw \\\n \u003e -v $PKI_DIR:/etc/nginx/pki:rw \\\n \u003e -v $AUTH_DIR:/etc/nginx/auth:ro \\\n \u003e --name rp4mobsf \\\n \u003e rp4mobsf:latest \n\n3) Parameters:\n\n\n   * CONF_DIR is the path to your conf directory which contain configuration\n   * PKI_DIR is the path to your directory containing the certificate\n   * AUTH_DIR is the path to your directory containing your auth.htpasswd file (user/password file)\n   * FORWARD_HOST is the @IP or FQDN or your MobSF server \n   * FORWARD_PORT is the port used to access MOBSF web interface\n    \n\n4) Default user :\n\n   * Default user is foo password bar\n\n5) Managing password \n\n* if you want to change or add user, you must use htpasswd binary to generate password and put the poassword in the auth.htppasswd file located in your conf directory \n\n  * syntax will be :\n\n    * htpasswd -b ./conf/auth.htpasswd foo bar  (for user foo with password bar)\n\n  * to install and use htpasswd on your system refer too : \n    * https://httpd.apache.org/docs/current/programs/htpasswd.html\n    \n6) Certificates \n\n  * if you already have certificates put it in conf/pki/  ($EXT_DIR/pki/)\n  * if you don't have the image will create autosigned certificates\n\n7) Custom\n\n  * nginx will not send the nginx version in header\n  * nginx will send a custom name not nginx in header\n    * to change the value :\n      * edit basic .conf and modify : more_set_headers \"Server: MobSF RP\";\n  \n 8) Variables\n\n  * if you want upload a file bigger than 300M  you must modify client_max_body_size 300M; in auth.conf\n  * by default you have a 10 minutes cache so  if you go to recent scan just after doing an analysis, you will not see it.\n \nThis image is based on:\nMarvAmBass/docker-nginx-ssl-secure\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobsf%2Frp4mobsf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobsf%2Frp4mobsf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobsf%2Frp4mobsf/lists"}