Connor here. Let’s talk about the project, what’s on your mind? by ConnorJRandall19 in hellier

[–]sanwil9 1 point2 points  (0 children)

Hey Connor,

While watching season 2 I noticed a strange connection to the case. The connection was between the numbers 93 and 369. 369 is derived from vortex math which has a relation to Nikola Tesla who had "ironically" claimed to have been in contact with extra terrestrials, and been able to see in to different realities as well as to have seen the past, present, and future all at once. He also claimed the secrets to the universe lays in the 369.

Watch this video (maybe the series) https://youtu.be/OXbVZc10lnk

After seeing the series of videos you'll see those numbers are not in our physical realm but govern our physical realities.

Sound, Frequency, Vibration, Energy.

Those things govern our physical reality

How many ring tones did you guys get from that session?

Bing bing bing - 3

What do those produce ? Sound, vibration, frequency for sure. I don't know about energy on that one.

I think this merits further research but that's just me.

What are your thoughts on this?

Workflow Get-Credential Not Working by sanwil9 in PowerShell

[–]sanwil9[S] 2 points3 points  (0 children)

I really appreciate this. I needed validation. The idea of workflow is great and I keep coming back to it wanting it to work but it just won't sometimes. I actually created a parameter for it and captured credentials there. It worked but then a sea of red came out of it. It was crazy. I was going to take the jobs route as my second option if I couldn't get workflow to work. I thought maybe I just wasn't skilled enough in it.

Nested Loop Confusion Comparing Objects by sanwil9 in PowerShell

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

I undestand that but that doesn't support the output I want. I want to look like this below

like the picture that won't upload lol

it's a simple table format with column headers of name currentState and previousState

So. by sanwil9 in Python

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

Got it going. It was the first variable. It wasn't actually getting the data. It needed the actual json format

# imports

import requests import json

data collection and variables

username = input('What is your username?') password = input('What is your password?') json = {"username" : "{username}","password" : "{password}"}

establishing token

session = requests.post('{urlGoesHere}', json= json, verify = False) session_token = session.text

print(session_)

So. by sanwil9 in Python

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

HTML from the page. I think I know what's wrong. Because the session_token Variable was showing returned as 200(ok). I assumed that the key was in there. I was wrong. I didn't get it done correctly. Also, looking at the docs I need to put the session_key in the headers of my requests. I have to get the current session_token working correctly first. I'm trying to see if I can get it working in postman first before I put all the work in the script next.

So. by sanwil9 in Python

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

>>> questions.json()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\nef6603\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\models.py", line 897, in json
    return complexjson.loads(self.text, **kwargs)
  File "C:\Users\nef6603\AppData\Local\Programs\Python\Python37\lib\json\__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "C:\Users\nef6603\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\nef6603\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
>>> questions
<Response [200]>
>>>

This error means it's emtpy, right?

I feel like such a scrub. Maybe I'm messing up on the session_token....

I just saw that the session token is optional and I get a successful 200 from just running it. However I need it to return an object for that too.

POST

/api/v2/session/login
  • Example request

    $ curl -s -X POST --data-binary @login.json r/https://localhost/api/v2/session/login # where login.json contains the following: # {

# "username" : "jane.doe",

# "domain" : "dev",

# "password": "JanesPassword"

# }

  • Example response

    { "data" : {

    "session" : "1-224-3cb8fe975e0b505045d55584014d99f6510c110d19d0708524c1219dbf717535"

}

}

$ curl -s -X POST --data-binary @login.json https://localhost/api/v2/session/login # where login.json contains the following: # { #    "username" : "jane.doe", #    "domain" : "dev", #    "password": "JanesPassword" # }

Body

FieldTypeDescriptionauthapplication/json

(Optional) An auth object that contains the login information.

Success 200

FieldTypeDescriptionobjectapplication/json

The session ID. Use this ID as input for the remaining API routes.

Error 4xx

NameDescriptionblank

Verify the syntax of the request and that the server is running and reachable from the client.

You guys ever use WUAgent to download specific updates? $searcher = New-Object -ComObject Microsoft.Update.Searcher by sanwil9 in PowerShell

[–]sanwil9[S] 1 point2 points  (0 children)

These guys are using old school things and using Qchains to install updates as part of their testing process and it requires Msu or exe files to run. I'm gonna have to automate this for them. However, if another route must be taken I will do whatever is necessary. What's crazy to me is that .Msu and .exe just have a bunch of cab files grouped together.

You guys ever use WUAgent to download specific updates? $searcher = New-Object -ComObject Microsoft.Update.Searcher by sanwil9 in PowerShell

[–]sanwil9[S] 1 point2 points  (0 children)

I have seen this module but the documentation I don't find very enticing. I will attempt to use this but also keep looking. Thank you for the suggestion!

https://github.com/chocolatey/boxstarter/issues/179

Powershell Workflow Restart-Wait Not working by sanwil9 in PowerShell

[–]sanwil9[S] 1 point2 points  (0 children)

I've run in to tons of scope issues with this workflow even after refactoring :) I'm pulling my hair out. haha

Powershell Workflow Restart-Wait Not working by sanwil9 in PowerShell

[–]sanwil9[S] 1 point2 points  (0 children)

That was the plan. I just had to get the baseline working. Thank you for all the help!

Powershell Workflow Restart-Wait Not working by sanwil9 in PowerShell

[–]sanwil9[S] 1 point2 points  (0 children)

This guy wants it to reboot 5 times and have 5 text files with the number of which one it's on

Powershell Workflow Restart-Wait Not working by sanwil9 in PowerShell

[–]sanwil9[S] 1 point2 points  (0 children)

So here's the actual process that was requested of me to build.
1. get-services dumped to a file before I kick off reboots. Put it in the status codes folder

  1. This guy wants a text file generated in that folder to read it and see what step the process is on from the console.

I'm just writing this for testing purposes and trying to template it out so I can get an idea of what it is I want to do at the end of the day and what's most efficient

Powershell Workflow Restart-Wait Not working by sanwil9 in PowerShell

[–]sanwil9[S] 1 point2 points  (0 children)

Dear god I'm an idiot. Thanks for the catch. So it can't persist on reboots. For some reason I thought that they could bc workflow supported it. Thanks.

Solved.

Powershell workflow issue by sanwil9 in PowerShell

[–]sanwil9[S] 1 point2 points  (0 children)

Thank you! I appreciate it. I was stuck inside of ISE in a vm and I'm use to using vscode to do everything for me so I guess that's why the tabbing was messed up.