Skip to content

Commit

Permalink
set PYTHONUNBUFFERED
Browse files Browse the repository at this point in the history
  • Loading branch information
Trolldemorted committed Oct 29, 2021
1 parent ac7db20 commit cb24bc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Bambixploit/Exploiter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ private async Task Exploit(string target, long pwnRound)
{
using var cancelSource = new CancellationTokenSource(this.settings.Interval * 1000);
var psi = new ProcessStartInfo(this.settings.Command, this.settings.Arguments + " " + target);
psi.EnvironmentVariables.Add("PYTHONUNBUFFERED", "x");
var stdout = new List<string>();
var stderr = new List<string>();
ProcessResults? result;
Expand Down

0 comments on commit cb24bc8

Please sign in to comment.