-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sbd: init at 1.37 #290280
base: master
Are you sure you want to change the base?
sbd: init at 1.37 #290280
Conversation
what's wrong with just using netcat? |
the unix and darwin builds are basically identical and windows isn't listed in supported platforms so just build with unix target{ lib
, stdenv
, fetchurl
}:
let
archiveUrl = url: "https://web.archive.org/web/20230802015002/${url}";
in
stdenv.mkDerivation (finalAttrs: {
pname = "sbd";
version = "1.37";
src = fetchurl {
url = archiveUrl "http://www.tigerteam.se/dl/sbd/sbd-${finalAttrs.version}.tar.gz";
hash = "sha256-Qt5Q3PynV80DAXxuVqx6L4dTKgjnBDQjzSDZEf1kX10=";
};
makeFlags = [
"CC=cc"
"PREFIX=${placeholder "out"}"
];
buildFlags = [
"unix"
];
meta = with lib; {
description = "Netcat-clone, portable, offers strong encryption - features AES-128-CBC + HMAC-SHA1 encryption, program execution, choosing source port, continuous reconnection with delay and more";
mainProgram = "sbd";
homepage = archiveUrl "http://www.tigerteam.se/dl/sbd";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ d3vil0p3r ];
platforms = platforms.unix;
};
}) |
homepage = "https://packetstormsecurity.com/UNIX/netcat/"; | ||
license = licenses.gpl2Plus; | ||
maintainers = with maintainers; [ d3vil0p3r ]; | ||
platforms = platforms.unix; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platforms = platforms.unix; | |
platforms = platforms.unix; |
this needs to get changed or buildFlags
needs to get changed. have you tried to build for win32?
I tried to build pkgsCross.mingwW64.sbd
and pkgsCross.mingw32.sbd
and both fail to build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the home page should be https://web.archive.org/web/20220626230420/http://www.tigerteam.se/dl/sbd/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-mno-cygwin
is deprecated and it should be removed. After that, for Windows, it is needed to find a way to include windows libraries like winsock.h
.
still not sure how this is better than netcat -- i'm not going to merge this. also just saw the matrix discussion on the review requests channel. |
@a-n-n-a-l-e-e netcat has not encryption (and authentiication controls) so in an untrustworthy network the usage of vanilla netcat could be problematic. Unlike netcat, |
2761bae
to
c3547eb
Compare
you also have a PR for #288104 which seems to be a slightly modified version of sbd in this PR. not sure why both are necessary. [edit] or any, there seem to be many ways to create encrypted connections between machines these days -- heck, can even just run ssh as a non-root user. |
Description of changes
The official website tigerteam.se (not more available) had also latest version 1.37, that should be the version used in Kali Linux. Not sure if a good idea could be to upload this latest version to the packetstormsecurity website, that was the main website where the devs of sbd uploaded the different versions of sbd (except the last one).
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.