Exploit databaseDownload repository ZIP
GH-9d8bf7b89f407a0fff790750df76b5d3
lewis-ricardo/amaranth-project
Sources for CVE-2025-8088
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files10
lewis-ricardo/amaranth-projectRevision 0a4aa5d06cfd
- ↑..Parent directory
- HexEditor/
- DotNetBarTabControl.cs
- InputBox.cs
- Line.cs
- ListViewEx.cs
- RapidPictureBox.cs
- RegistryTreeView.cs
- RegistryValueLstItem.cs
- WordTextBox.Designer.cs
- WordTextBox.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
source/Quasar-master/Quasar.Server/Controls/ListViewEx.cs
C# · 3,010 bytesusing Quasar.Common.Helpers;
using Quasar.Server.Helper;
using Quasar.Server.Utilities;
using System;
using System.Windows.Forms;
namespace Quasar.Server.Controls
{
internal class AeroListView : ListView
{
private const uint WM_CHANGEUISTATE = 0x127;
private const short UIS_SET = 1;
private const short UISF_HIDEFOCUS = 0x1;
private readonly IntPtr _removeDots = new IntPtr(NativeMethodsHelper.MakeWin32Long(UIS_SET, UISF_HIDEFOCUS));
public ListViewColumnSorter LvwColumnSorter { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="AeroListView"/> class.
/// </summary>
public AeroListView()
{
SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
this.LvwColumnSorter = new ListViewColumnSorter();
this.ListViewItemSorter = LvwColumnSorter;
this.View = View.Details;
this.FullRowSelect = true;
}
/// <summary>
/// Raises the <see cref="E:HandleCreated" /> event.
/// </summary>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
protected override void OnHandleCreated(EventArgs e)
{
base.OnHandleCreated(e);
if (PlatformHelper.RunningOnMono) return;
if (PlatformHelper.VistaOrHigher)
{
// set window theme to explorer
NativeMethods.SetWindowTheme(this.Handle, "explorer", null);
}
if (PlatformHelper.XpOrHigher)
{
// removes the ugly dotted line around focused item
NativeMethods.SendMessage(this.Handle, WM_CHANGEUISTATE, _removeDots, IntPtr.Zero);
}
}
/// <summary>
/// Raises the <see cref="E:ColumnClick" /> event.
/// </summary>
/// <param name="e">The <see cref="ColumnClickEventArgs"/> instance containing the event data.</param>
protected override void OnColumnClick(ColumnClickEventArgs e)
{
base.OnColumnClick(e);
// Determine if clicked column is already the column that is being sorted.
if (e.Column == this.LvwColumnSorter.SortColumn)
{
// Reverse the current sort direction for this column.
this.LvwColumnSorter.Order = (this.LvwColumnSorter.Order == SortOrder.Ascending)
? SortOrder.Descending
: SortOrder.Ascending;
}
else
{
// Set the column number that is to be sorted; default to ascending.
this.LvwColumnSorter.SortColumn = e.Column;
this.LvwColumnSorter.Order = SortOrder.Ascending;
}
// Perform the sort with these new sort options.
if (!this.VirtualMode)
this.Sort();
}
}
}