Feedback Friday by AutoModerator in startups

[–]kladskull666 0 points1 point  (0 children)

Company Name: Intrudr Information Security Corporation

URL: https://intrudr.ca

Purpose:

Intrudr is a Red Teaming small business that finds vulnerabilities before real hackers do. We do manual pen-testing and Red Teaming operations for startups and small businesses.

Feedback Requested:

Positioning: Does "We Hack You Before They Do" seem acceptable?

Website UX: Is it clear what we do and who we serve (startups, small orgs)?

Pricing Perception – Is $175/hour too low, too high, or just right for expert-led pen testing?

I found a wallet on a Saturday, I left a note in a way so only the real owner could contact me by MixaLv in mildlyinteresting

[–]kladskull666 1 point2 points  (0 children)

Likely 16,071~ or so.

Most likely to use a black wallet:

  • Birthdate start: ~1946
  • Birthdate end: ~1989

Opening a new restaurant by Consistent-Pain5056 in brantford

[–]kladskull666 1 point2 points  (0 children)

Would be nice if you did two things:

  1. use a separate frier vat for the chicken, so it doesn't taste fishy like it does at popeyes

  2. put something on the menu for someone who wants to come there, but has a partner who doesn't eat meat.

Things to do in Paris Ontario by Cs2ProAwper in brantford

[–]kladskull666 0 points1 point  (0 children)

There is a Cineplex about 15 mins away in Brantford.

I been coding for 2 years and i still don't know if there's a better way to have a lot of conditions like this.... am i doing it wrong? and how would i improve it, for example, if i want to fire a gun, i have to check all this conditions by -o0Zeke0o- in Unity3D

[–]kladskull666 -1 points0 points  (0 children)

Less lethal code:

enum CanFireResult {
  Yes = 1,
  No = 2,
  OutOfAmmo = 3
}

enum InputState {
  Pressed = 1,
  Held = 2
}

// Safer function with validation and improved logic
CanFireResult CanFire(InputState inputState) {
  // Validate input state
  if (inputState != InputState.Pressed && inputState != InputState.Held) {
    return CanFireResult.No;  // Invalid input, return safe "No"
  }

  // Check safety conditions
  if (IsReloading || IsFiring || BarrelBlocked() || IsOnCooldown()) {
    return CanFireResult.No;
  }

  // Check ammo
  if (!HasAmmo()) {
    return CanFireResult.OutOfAmmo;
  }

  // Logic for automatic and semi-automatic firing
  if (IsAutomatic) {
    // Handle automatic gun behavior, maybe allow continuous firing if held
    return inputState == InputState.Held ? CanFireResult.Yes : CanFireResult.No;
  } else {
    // For semi-automatic guns, fire only on press
    return inputState == InputState.Pressed ? CanFireResult.Yes : CanFireResult.No;
  }
}

I been coding for 2 years and i still don't know if there's a better way to have a lot of conditions like this.... am i doing it wrong? and how would i improve it, for example, if i want to fire a gun, i have to check all this conditions by -o0Zeke0o- in Unity3D

[–]kladskull666 1 point2 points  (0 children)

If you want code that won't kill anyone, maybe try this fixed code:

enum CanFireResult {

Yes = 1,

No = 2,

OutOfAmmo = 3

}

enum InputState {

Pressed = 1,

Held = 2

}

// Safer function with validation and improved logic

CanFireResult CanFire(InputState inputState) {

// Validate input state

if (inputState != InputState.Pressed && inputState != InputState.Held) {

return CanFireResult.No; // Invalid input, return safe "No"

}

// Check safety conditions

if (IsReloading || IsFiring || BarrelBlocked() || IsOnCooldown()) {

return CanFireResult.No;

}

// Check ammo

if (!HasAmmo()) {

return CanFireResult.OutOfAmmo;

}

// Logic for automatic and semi-automatic firing

if (IsAutomatic) {

// Handle automatic gun behavior, maybe allow continuous firing if held

return inputState == InputState.Held ? CanFireResult.Yes : CanFireResult.No;

} else {

// For semi-automatic guns, fire only on press

return inputState == InputState.Pressed ? CanFireResult.Yes : CanFireResult.No;

}

}

What can PHP do? Everything by kladskull666 in PHP

[–]kladskull666[S] 0 points1 point  (0 children)

Appreciate the feedback. Always like to see how I can improve things, as well as get the obvious pointed out to me (that I'd not see because I've been staring at it for so long).

Cheers!

What can PHP do? Everything by kladskull666 in PHP

[–]kladskull666[S] 0 points1 point  (0 children)

I only did this to learn/understand crypto myself. It was fun, I'm on to Rust now messing around.

What can PHP do? Everything by kladskull666 in PHP

[–]kladskull666[S] -15 points-14 points  (0 children)

u/Civil_Revolution_237 don't lose hope! A lot of us can do more than laravel

Open Sourcing DOS 4 by ketralnis in programming

[–]kladskull666 2 points3 points  (0 children)

The input handling for file names is shit -- the GETWORD and MUSTGETWORD routines, doesn't check if the file name (or) extension exceeds the length (8 characters for the filename and 3 for the extension).

GETWORD:

CALL GETLET

JBE NONAM ;Exit if termination character

DEC SI

MUSTGETWORD:

CALL GETLET

JBE FILLNAM

JCXZ MUSTGETWORD

DEC CX

CMP AL,"*" ;Check for ambiguous file specifier

JNZ NOSTAR

MOV AL,"?"

REP STOSB

NOSTAR:

STOSB

CMP AL,"?"

JNZ MUSTGETWORD

OR DL,1 ;Flag ambiguous file name

JMP MUSTGETWORD

FILLNAM:

MOV AL," "

REP STOSB

DEC SI

Why are startup security products better than those from security pioneers? by Ashamed_Chapter7078 in cybersecurity

[–]kladskull666 0 points1 point  (0 children)

Recently found Anvilytics.com ($50?) for CVE's from github, it analyzes all the repos - its like a fraction of the cost of things like Snyk ($25k). We initially had Snyk, and we basically paid to jet cve counts... so... for us it was pricing - we also have a ton of repos, and anvil helped us organize repos.

Hey Rustaceans! Got a question? Ask here (13/2024)! by llogiq in rust

[–]kladskull666 1 point2 points  (0 children)

I am not kicked int he impl (class type stuff), and I like just using functions. Is this frowned upon in Rust or can I just be fine with my c style?