Should I present forged documents in a Penetration Test/Red team engagement?

A previous question of mine lead to this discussion which mentioned the subject of Document forgery.

I’ve seen many people (in videos) forge IDs and employee badges for such engagements so that seems fine as a test. However, if asked to present a more critical/serious document like a “Permission to Attack” slip (when caught), or asked by a police officer to present some ID, should we test them by first show them a forged “Permission to Attack” slip or ID and only show the real documents if caught?

How can I replicate the native look & feel of Fate documents?

Fate documents (whether they are rule books, adventure books, character sheets, etc.) generally have a pretty recognizable style (a typical example is the Fate Core Character Sheet). The rule books have pages with a specific layout, a specific style for page numbering, specific shapes around the edges, specific shapes for sections with GM tips, specific shapes for sections with examples, etc.

As a GM, I sometimes want to create customized sheets and handouts. Possibly I’d like to write and publish an original setting or adventure at some point. In either case, I would prefer to make something that feels like a ‘native’ Fate document (considering that the folks at Evil Hat have said they don’t mind people doing so).

How can I go about replicating that look & feel in a rich text editor or DTP software? (To me, it doesn’t matter which specific product I’d have to use.) Are there any reusable templates made by players that make this process repeatable? Is there perhaps a visual style guide that authors can follow? Anything instructions to avoid ‘reinventing the wheel’ or at least be able to ‘reinvent’ it faithfully?

Querystring filter on documents

I have a list of documents who have a property (Related document ID) that I want to filter via query string


should view only documents who have the related ID = 1

I was thinking of using a Highlighted Content web part with a custom CAML query.

This is what I have so far:

<View> <Query> <Where> <Eq> <FieldRef Name='Related_x0020_Document_x003a_ID'/> <Value Type='Text'>{QueryString:PolicyID}</Value> </Eq> </Where> </Query> </View> 

Can anyone with a basic understanding explain how it works?

I just want CAML to accept a query string

How to display same APP ID documents from SP library

i have infopath form which was published on SP library. In SP library We are storing documents based on App ID. and every time while changes in Application new Token no. generated.

if it is possible, if i select App ID and in background it will search all changes with same App ID and display all changes details like document preview. some thing like that.

In simple words, many records stored in my SP Library. Every records have different token numbers and some records have same APP ID. so i am trying to implement if i filter APP ID “12345”. each and every records could be display as preview.


How to filter list items and documents

I have a modern Sharepoint page with several lists and a document library. I need to filter list items and documents with the same date. These dates are in a seperate list. I can do it with a classic page but is it possible with a modern page. I tried using a highlighted content web part but could not do it. Is there a way to filter items and documents based on the same metadata field? Jan

SharePoint 2019: Moving documents between Site Collections

I’m currently looking for a sneaky solution to move documents between SIte Collections. I already found a quite good looking PnP Powershell:

Connect-PnPOnline -Url Get-PnPList Get-PnPFeature -Scope Site $  allDocs = (Get-PnPListItem -List Checklisten).FieldValues $  targetLib = "" foreach ($  item in $  allDocs){ Move-PnPFile -ServerRelativeUrl $  item.FileRef -TargetUrl ($  targetLib + $  item.FileLeafRef) -Force } 

But unfortunately I get for every document an error message like this:

Move-PnPFile : SiteId mismatch In C:\Temp\Powershell19\MoveDocuments.ps1:9 Zeichen:5 + Move-PnPFile -ServerRelativeUrl $ item.FileRef -TargetUrl ($ target … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (:) [Move-PnPFile], ServerException + FullyQualifiedErrorId EXCEPTION,SharePointPnP.PowerShell.Commands.Files.MoveFile

We migrated from SharePoint 2013 via detach/attach to SharePoint 2019. Now it’s time to switch over to modern UI without those expensive migration tools.

Any thougths/ideas out there what I’m missing or maybe another way to achieve the goal?

Handle click count for documents in SharePoint 2010

I am having a page with documents loaded in SharePoint 2010. I have three buttons below each documents in the page and they are ‘Like’,’Unlike’ and ‘Comment’. So whenever people go there and see the documents they can click on any buttons of their wish.

My question is how to take the hit count of these buttons seperately and display it for each document. Is it possible to create a list with having these three columns and handle it using Client-Side scripting. Any suggestions or help is much appreciated.

How to search content within sharepoint documents from MVC solution using C#?

I have an MVC solution, I want to refer to a sharepoint site and do a document search (.docx, .xlsx, .pptx, .pdf, etc.), also search for content within the documents and list the results in a view, but I don’t know how to do this, I was researching on the crawled documents, the SPSite object and the Client Object Model, but I didn’t find any example that works for me, I’m new to Sharepoint and I not planning to become a sharepoint developer just want to implement this functionality, and adnvice on what is the best way to perfomr this? Thank you.

Auto-convert Microsoft Publisher 2010 documents to HTML or PDF

Can anyone think of a way to automatically convert Microsoft Publisher 2010 (.PUB) documents to either HTML or PDF upon upload to a document library for viewing within a publishing site?

We are implementing a SharePoint portal and have hundreds of .PUB files that we need to be able to have users view that do not have Microsoft Publisher installed. I realize that Publisher can “Save As PDF” but these documents get updated frequently (plus there are hundreds of them) and then we would need to maintain both the PDF and PUB versions within the site. We’d prefer to have a method whereby we could upload the .PUB to the site and then have it converted to a more universal format so it could be viewed within a browser or PDF reader.

Any ideas?