dotnetcore – SpecFlow LivingDoc report not successfully generated – Could not load file or assembly ‘TechTalk.SpecFlow

I’m trying to generate the livingDoc report by using this command:

livingdoc test-assembly .dll -t TestExecution.json

I’m getting the following warning:

Framework: .NET 5.0.6
Warning: Could not load file or assembly ‘TechTalk.SpecFlow, Version=, Culture=neutral, PublicKeyToken=0778194805d6db41’. Could not find or load a specific file. (0x80131621)

The LivingDoc report is generated but all the scenarios within the report are marked as ‘Skipped’.

printing – Kyocera FS2100-DN on a print server cannot be added successfully

The printer is attached to a customer network and shared from a print server which is then VPNed into a cloud environment.
Within the cloud, another machine tries to add this printer (as it’s available from the print server) but the printer automatically gets removed after appearing for a few seconds.

enter image description here

Another printer shared from the same machine works fine – it is USB connected to the print server.
Any clues?

Custom hook after user successfully verifies email

Can anyone help me creating a function that I could use for the following scenario:

Basically I am trying to create a register form that has a hidden custom field with value of a post ID and store it under user custom field “abc”.

Now after user has successfully registered and completes email verification I want to run a code which transfer post (using that id) to his new account. (Change of owner of that post)

For better understanding, we have a bunch of companies listed on our website which we want to allow owners of that companies to claim their company listing.

We have successfully able to create hidden custom field and its saving the post id to user custom field abc. Now can anyone help us moving that post using post id to new owner?

Plugins we are using here are:

Advanced custom fields
WP user frontend


How can I successfully SSH into my Ubuntu 20.04 server after password stopped work?

I have a Raspberry Pi that is running Ubuntu and it has been working fine until I tried updating the WiFi network name and password (sudoedit /etc/netplan/50-cloud-init.yaml). After doing so, I was no longer able to SSH into the server, but my scheduled scripts are still running, so the server seems to be operating normally, all considered. It’s like my username/password combination just stopped working.

Does anyone know how I might be able to reset the ubuntu password or if there is another way of logging in? I should mention that this is a “headless” setup and that I have installed xrdp which allows me to ‘rdp’ into the server; it still works but the user/password combination does not.

Please let me know if there is anything else I can provide for you so that I can be successful in finding a solution.

linux networking – How can I set up a layer 3 bridge using Proxy ARP such that http requests can be made to the inside/proxied host’s IP successfully?

Currently I am using a Raspberry Pi to bridge an ethernet connected printer to wireless internet and have used DNAT successfully to give the printer internet access, manually forwarding the printer’s port 80 to the Rpi’s wlan0 interface port 80 along with other needed ports to access the printer using outside hosts. I’ve also been able to use Proxy ARP so that the printer’s static IP address is visible on the network, the Pi responding to ARP broadcasts on the printer’s behalf and proxying ARP requests for the printer. What I would like to do is combine the functionality of the DNAT approach with the IP separation provided by Proxy ARP.

The problem is that I cannot figure out how to seamlessly accomplish the needed forwarding/spoofing with the Rpi so that instead of directing requests to the Pi’s port 80, outside hosts can make requests using the printer’s IP directly even if it’s on a different subnet, say, to access the http page.

Is it possible to accomplish this routing in tandem with Proxy ARP? Are there other approaches that are better suited for this arrangement, or could IP aliases alongside DNAT accomplish this illusion that the printer’s IP and active ports are also present on the network/another network?

magento2 – Magento 2.3.6 All emails stopped working even though Magento says it’s being sent successfully

I’m running Magento 2.3.6 with PHP version 7.3 and recently my Magento emails have all stopped working. I’m able to run a PHP script from the server to send emails through the mail function and they’re being received, but inside Magento all emails have stopped working.

I’ve tried looking in the system.log and debug.log, but there are no references to any email errors because Magento fully believes that all emails are being sent correctly. My configurations are set correctly, Disable Emails is set to no, Async email sending is set to disable. All my orders say that confirmation email is sent. Magento thinks everything is fine, but I’m just not getting any emails.

I’ve also tried installing Mageplaza SMTP extension to bypass any Magento mailing and I’m able to successfully send a test email, but again all other emails do not work.

Hope anyone has ideas, thanks.

Does implementing an if block successfully prevents code injections inside Python files?

Simple blacklists are about the worst way to patch a vulnerability. They’ll create a lot of false positives and any determined attacker will usually find a way around them.

Web Application Firewalls are a good example. The detection rules they employ are way more complicated than your simplistic blacklist, yet they don’t catch everything, and every now and then, bypasses come up for things they are supposed to catch.

I don’t see any possibility to escape from this.

Or so you think. You just haven’t looked long enough.


This sails right through your filter. It calls the exec() function which then goes on to print ‘pwned‘.

Now you can modify your blacklist to catch this as well, but someone else will come up with another way.

99% of the time I see someone using something like exec or eval, it’s completely unnecessary. If you can avoid using exec, do yourself a favor and get rid of this vulnerability waiting to be exploited. If, however, you absolutely need to use exec, try following the suggestion given in the comments under your question.

Facebook: How to successfully paste formatted text into a group post?

On Facebook, when creating a new post to be posted into a Group (as opposed to onto a standard personal or company page), Facebook allows you to add some simple formatting to the post.

If you highlight some text in the compose view for such a post, Facebook pops up a little toolbar that allows the simple formatting to be added to the selected text.

Facebook post formatting toolbar

However, if formatted text is pasted into the compose view, all of the formatting is lost, and the text is pasted in without formatting.

Even if selecting, copying, and pasting formatted text within that Facebook compose view itself, the formatting is still lost upon paste, as in this in-progress post, where a copy was made of the content via copy and then paste:

Facebook post compose window showing formatted and unformatted text

This is highly inconvenient in a number of situations. For example, when copying a block of formatted text from one Facebook group into a new post in another Facebook group, all of the formatting must be manually re-applied after pasting, which is very time-consuming.

Is there a method to successfully be able to paste formatted text into a Facebook group post?

macos – It says I’v got about 3 GB and it won’t let me download something for 2.2 GB. Why is it saying this and how do I successfully download it?

It says I’ve got about 3 GB on my mac but when I try to get something that takes 2.2 GB it says I do not have enough room on my Mac. I am using an Apple Macintosh Macbook Air
Version: 10.15.7
It’s also a macOS Catalina

How can I check space before I download to I can avoid errors?