{"id":18976967,"url":"https://github.com/nova-video-player/smbcli","last_synced_at":"2025-02-21T07:45:53.267Z","repository":{"id":52315102,"uuid":"257015659","full_name":"nova-video-player/smbcli","owner":"nova-video-player","description":"smbcli: a simple test program for jcifs-ng","archived":false,"fork":false,"pushed_at":"2023-12-05T22:29:17.000Z","size":1140,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-13T23:52:45.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nova-video-player.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-04-19T14:08:33.000Z","updated_at":"2022-06-12T17:19:45.000Z","dependencies_parsed_at":"2023-12-10T11:33:56.035Z","dependency_job_id":null,"html_url":"https://github.com/nova-video-player/smbcli","commit_stats":{"total_commits":23,"total_committers":3,"mean_commits":7.666666666666667,"dds":"0.21739130434782605","last_synced_commit":"6ff8f8ffef1cd8757fd3ed0ac0e094720b79a0b4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nova-video-player%2Fsmbcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nova-video-player%2Fsmbcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nova-video-player%2Fsmbcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nova-video-player%2Fsmbcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nova-video-player","download_url":"https://codeload.github.com/nova-video-player/smbcli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239262408,"owners_count":19609519,"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-08T15:27:07.383Z","updated_at":"2025-02-21T07:45:53.220Z","avatar_url":"https://github.com/nova-video-player.png","language":"Java","readme":"# smbcli: a simple test program for jcifs-ng\nsmbcli is a simple test program aiming at simply debugging [jcifs-ng](https://github.com/AgNO3/jcifs-ng) to get [nova video player](https://github.com/nova-video-player/aos-AVP) working with SMBv2/3.\nIt only does a file listing of a SMB network share directory.\n\n## Compilation\nProject can be run directly via IntelliJ IDE but one can compile it via these commands if you prefer CLI:\n```\nrm -rt target\nmvn package -DskipTests -Dmaven.javadoc.skip=true\n```\n## Usage\n```\njava -jar jcifstest-1.0-SNAPSHOT.jar 1|2 BCAST|DNS smb://server/share/ [domain user password]`\n```\nFor guest login (unprotected shares) just omit `\"\" user password` as domain user password.\n\n## Logs\nTo get trace logs for jcifs-ng use the following `logback.xml` file in the root directory where smbcli is run. Sample file is provided in the project.\n```\njava -Dlogback.configurationFile=./logback.xml -jar jcifstest-1.0-SNAPSHOT.jar 1|2 BCAST|DNS smb://server/share/ [domain user password]`\n```\n\n## pcap capture\nFor pcap captures, use wireshark with the following filter `ip.src == 192.168.0.101/24 \u0026\u0026 ip.dst == 192.168.0.1/24` (adapt to your subnet).\nTo export capture: edit mark all displayed, file export specified packets -\u003e pcap, zip export.\n\nAlternatively tcpdump can be used too with the following command: `sudo tcpdump -n \"src net 192.168.1.0/24 and dst net 192.168.1.0/24\" -w capture.pcap`\n\n## Recompile jcifs-ng\nIn order to compile jcifs-ng use maven: \n```\nmvn package -DskipTests -Dmaven.javadoc.skip=true\n```\nresulting jar is located in target directory.\n\nTo get trace log for jcifs-ng use the following log4j.properties file in the directory where smbcli is present:\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnova-video-player%2Fsmbcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnova-video-player%2Fsmbcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnova-video-player%2Fsmbcli/lists"}