Skip to content

Commit

Permalink
hopefully fixing issues with ps
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Jul 11, 2024
1 parent db25ab6 commit aaee9ca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Payload_Type/poseidon/poseidon/agent_code/CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 2.1.1 - 2024-07-11

### Changed

- fixed another issue with `ps` on some macOS machines that would cause issues with the RDProcess library used
## 2.0.36 - 2024-04-24

### Changed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
https://github.com/rodionovd/RDProcess
*/
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ - (BOOL)_requestProcessArgumentsAndEnvironment
i++;
}
const char *arg = (const char *)(arguments+i);
if (strlen(arg) > 0) {
if (arg != nil && strlen(arg) > 0) {
if (counter < argc) {
[tmp_argv addObject: [NSString stringWithUTF8String: arg]];

Expand Down
2 changes: 1 addition & 1 deletion Payload_Type/poseidon/poseidon/agentfunctions/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"time"
)

const version = "2.1.0"
const version = "2.1.1"

type sleepInfoStruct struct {
Interval int `json:"interval"`
Expand Down

0 comments on commit aaee9ca

Please sign in to comment.